struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken McWilliams <ken.mcwilli...@aerose.com>
Subject Re: getRequestURL and action
Date Thu, 27 Jan 2011 18:42:24 GMT
<s:url/> gives you the current url.

<s:url includeParams="get"/> gives you the current url with the get
parameters. 

The <s:a/> tag also shares the above properties but is also a link.

http://struts.apache.org/2.x/docs/tag-reference.html

On Thu, 2011-01-27 at 18:33 +0100, Doctor John Carter wrote:
> 
> 	
> 	
> 	
> 	
> 	
> 	<!--
> 		@page { margin: 2cm }
> 		P { margin-bottom: 0.21cm }
> 		A:link { so-language: zxx }
> 	-->
> 	
> 
> 
> 
> Struts
> version 2.1.8.1
> 
> All
> my jsp pages include a header.jsp file.
> 
> This
> header file is made for the choice of the languages.
> 
> 
> 
> 
> There
> are  3  links with the same action
> 
> 
> 
> 
> Th
> problem is that I don 't want to go back to the same page for  all
> the jsp file(home page for example). I want to go back to the origin
> pag after the user has choose his language
> 
> 
> 
> 
> 
> 
> So
> I would like to know how is it possible in the Struts 
> 
> 
> 
> 
> 
> 
> Thank
> you
> 
> 
> 
> Florent 		 	   		  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



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


Mime
View raw message