Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

passing session data between jsp and servlet

843836Oct 13 2004 — edited Oct 13 2004
I have a servlet that I pass data to my jsp.
I do a session.setAtrribute in the servlet. No problem.
I get the data no problem in the jsp that I call.

How do I pass this same data to the another servlet?
I basically have an array of values that I already have in the existing jsp that has been set in session.

When I call the secondary servlet, I don't have anything in this session variable related to my array.
Prior to posting to my next servlet, do I need to do another setAttribute inside the jsp to get the data passed to the servlet?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2004
Added on Oct 13 2004
18 comments
309 views