How to change parameters in JSP
843833Sep 21 2001 — edited Sep 25 2001How 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()' ?