A javax.servlet.Filter and javax.servlet.http.HttpServletRequestWrapper would work for that (Servlet 2.3).
Quoting Andrew Hill <[EMAIL PROTECTED]>: > As Gemes says, your best bet is to use an attribute for this. > > I myself however also have a few places where Id really like to 'decorate' > an incoming request's parameters. > > I have not tried this myself so Ive no idea if it will actually work, but > maybe one could create a class thats implements HttpServletRequest that > wraps the original request and allows you to add your own parameters. I > think that the struts Requestprocessor actually does something like this > when it parses values submitted for multipart forms. > > Before I rush out and waste time trying it though Id like to hear from > other > ppl as to how viable a solution it is and any potential problems. > > > -----Original Message----- > From: Amit Badheka [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 20:05 > To: Struts Users Mailing List > Subject: request parameter > > > I would like to add some request parameter in my action class , before > forwarding it to jsp page. > > Is there any way to do it? > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

