문제

I have a scenario as below. I have three jsp pages jsp1, jsp2, jsp3. jsp1 calls jsp2 and jsp2 calls jsp3.

I am sending a http request from jsp1 to jsp2. I would like to add some more values to the parameters in the request object and forward that to the jsp3. Can you please let me know how to do that?

도움이 되었습니까?

해결책

Instead of parameters, you can add request attributes using request.setAttribute(attributeName, attributeValue)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top