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