HI Sandeep, This doesn't work since request is going from client to server so I can't set the request.getAttribute since when I submit the form it will be a fresh new request however had I tried settin thru request.setAttribute, it would have been a old request.
getting parameters thru request.parameter in case of hrefs/links works fine but form initialization happens at later stage so not able to get the values from the form Regards, Saurabh Sandeep Gupta wrote: > > Hi Sarry > > Try setting the variable using the > > request.setAttribute(<Attribute key name as string>, <Value as Object>); > > and then, access the value in the request processor using the > > (<Cast to the desired object type) request.getAttribute(<Attribute key > name > as string>); > > Hope this helps. > > - Sandeep > > > > On 12/29/06, Sarry <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I am tryin to extend request processor which basically tracks the session >> and does some routing stuff. >> >> but for that I need to pass a variable which is available on JSP and need >> to >> pass it to the request processor to check something. >> >> I tried hidden field in the form but gettin value of hidden field thru >> request.getParameter is not possible since it is not available however >> the >> same value is available on action. >> >> so now question is, how to pass any variable which should come with the >> form >> from JSP? >> -- >> View this message in context: >> http://www.nabble.com/Not-able-to-pass-value-from-jsp-to-request-Processor-tf2892984.html#a8082715 >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Not-able-to-pass-value-from-jsp-to-request-Processor-tf2892984.html#a8084023 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]