It's not a secret anymore!
The moose likes Struts and the fly likes  Setting a parameter in HttpServlerRequest from JSP in struts1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Setting a parameter in HttpServlerRequest from JSP in struts1" Watch " Setting a parameter in HttpServlerRequest from JSP in struts1" New topic
Author

Setting a parameter in HttpServlerRequest from JSP in struts1

Deepak Poola
Greenhorn

Joined: Feb 05, 2010
Posts: 2
Hi,

I need to set a new parameter in the request, which will be checked in a filter and this should be common accross all actions.

I am unable to set this request in the JSP, i need to set a token from the session to the request in struts 1. Please help me in this regard.

I would be hihgly thankful

--Deepak Poola
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9400
    
  20

What exactly are you trying to say?? Do you have to set a request parameter in a filter or JSP or Struts Action??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Deepak Poola
Greenhorn

Joined: Feb 05, 2010
Posts: 2
Hi i need to set a parameter in the request through a JSP. And that parameter i am just checking in the filter. SO i need to set the parameter in the request through the JSP and this should not be specific to any action.. i.e it should be generic
 
Have you checked out Aspose?
 
subject: Setting a parameter in HttpServlerRequest from JSP in struts1
 
It's not a secret anymore!