Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top