struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <new...@pingsite.com>
Subject Re: how can i pass an arraylist from jsp to action class
Date Tue, 06 Jun 2006 12:34:44 GMT
Sreekanth PK wrote:
> how can i pass an arraylist from jsp to action class with out the help
> of session or application variable???? Am not able to use
> request.setAtrribute in jsp to do this why??
>   

Because that's backwards.

The only way to get from a JSP to an Action is to submit a form (more or
less). That's a new request, so anything you put in to the _current_
request goes away.

You might want to check out some basics of the request cycle; that might
help you.

Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message