struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CastaƱeda Santana, Jose Manuel" <CAST...@mapfre.com>
Subject RE: Passing objects from JSP to Action (in request scope)
Date Wed, 19 Nov 2003 19:59:28 GMT


>  
> 
> Thanks, Adolfo!
> 	But I'm a newbie: how could I set sevletContext in a JSP?
> 	If I'd want to set the object to pass in the session scope I'd
> write:
> 		
> 	<%
> 		Vector vect = new Vector();  //for example
> 		session.setAttribute("vector", vect);
> 	%>
> 
> 	and I'd retrieve it in the action as follows
> 
> 	Vector vectorInAction = session.getAttribute("vector");
> 
> 	If it's not possible using request scope, how to do it?
> 
> 	Lot of thanks again!! 
> 		
> 	 
> 	

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


Mime
View raw message