I have to pass object,so I think I should go for session?

Am I right?


newton.dave wrote:
> 
> --- Kameshwaran <[EMAIL PROTECTED]> wrote:
>> I am trying to pass some values from the jsp to
>> action class.
>> 
>> I did something like this in the
>> jsp:request.setAttribute("InvVOX", inventoryVOX);
>> 
>> but when I try to get it in the action class(when
>> the jsp gets submitted).I am getting null.
>> 
>> Is there something I am missing here?
> 
> Yep; most definitely.
> 
> If you make a new request values in the old request
> are no longer there.
> 
> To answer your next question, either in session or as
> a URL parameter.
> 
> d.
> 
> 
> 
>        
> ____________________________________________________________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
> news, photos & more. 
> http://mobile.yahoo.com/go?refer=1GNXIC
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/passing-data%28object%29-from-jsp-to-action-class-thru-HTTP-request.-tf4152921.html#a11815014
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to