request.setAttribute() in jsp

Status
Not open for further replies.

mani.gparas

Right off the assembly line
I want to process verious request from various jsp pages in a single jservlet(controller),how can i do it??

how can i do it using request.setAttribute() in various jsp pages
 

Leonidus06

Broken In
I want to process verious request from various jsp pages in a single jservlet(controller),how can i do it??

how can i do it using request.setAttribute() in various jsp pages



Can you please brief me about the exact problem ..
I did not get what exactly you wanted to know
 

Garbage

God of Mistakes...
I want to process verious request from various jsp pages in a single jservlet(controller),how can i do it??

how can i do it using request.setAttribute() in various jsp pages
From request you can only getAttributes. You can setAttribute to response. Isn't it ?

And if you want to check from which page this request originated, just include a hidden field in every page and set it's value with something unique to that page (page name?).
And in servlet, check the value of that hidden field.
 
Status
Not open for further replies.
Top Bottom