File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 9291
    
  17

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
 
jQuery in Action, 2nd edition
 
subject: Setting a parameter in HttpServlerRequest from JSP in struts1
 
Similar Threads
getting null parameters from servlet
how to pass parameter from dispatchto javascript
get the radio button value in three differnt jsp
date check format with jsp and Action class- what's wrong?
POST request and reading data two time