struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Baetz <baetz.paderb...@arcor.de>
Subject Re: How to access request & session objects in jsp using struts2 tags
Date Fri, 26 Sep 2008 06:16:36 GMT
Gurpreet-Singh schrieb:
> Hi All,
>
> I am developing WML application using struts2 and tiles on weblogic server
> 10. 
> Struts2 version: 2.0.11
>
> I am facing 2 problems:
>
> 1. I am generating a url to the external site using <s:a> and <s:url> as
> follows:
> <s:url id="externlaURL" value="http://localhost:8080/test" encode="true">
>  <s:param name="returnURL" value='%{request.getHeader("Referer")}" />
> </s:url>
> <s:a id="Go" href="%{externalURL}" > Go to Another Application Server page
> </s:a>
Maybe you can workaround this problem by rewriting the parameter linke this:

 <s:param name="returnURL" ><s:property value="#request.Header("Referer")" /></s:param>

Just a guess.
> 2. The situation is like same as above problem as follows:
> ...
> Problem is that when i am coming back to page 1 from page 2, its errors out.
> But error goes offf if i hit refresh or opens this page in a new window. So,
> is it due to switching context between 2 web server in the same browser
> window or what?
What errors do you get?

Greetings,
Alexander

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


Mime
View raw message