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!

How to change parameters in JSP

843833Sep 21 2001 — edited Sep 25 2001
How can I change a parameter, received by a JSP, depending on a condition, to a value stored in a session.

Values:
parameter (parmagency) = YYY
sessionid (sessionagency) = XXX

condition:
if sessionid.sessionagency = 'XXX'
parmagency should be changed to 'XXX'

when i call a servlet, which also uses the parmagency, it should receive value 'XXX' too!

although a request.getParameter() exists, I didn't think I could use a 'request.setParameter()' ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2001
Added on Sep 21 2001
2 comments
189 views