On 31/07/2012 15:07, Alejandro Mehring wrote:
> Thank you very much for your help!
> 
> Digging a bit more into the system, I came to a part where it's building
> the link based on the original servlet request.
> 
> If I have this URL:
> http://host/app/servlet/FrontController?arg1=yes&arg2=target.jsp&arg3=something
> 
> Java 1.4's getRequestURL() returns 'http://host/app/servlet/FrontController'
> whereas
> Java 1.6's getRequestURL() returns 'http://host/app/target.jsp'
> 
> I found someone reporting this same issue on JBoss community page, but got
> no answer. I'll try to find another way to get the same behaviour in Java
> 1.6 as of getRequestURL in 1.4.

That is not a Java 1.4 vs Java 6 issue. That is a container
implementation issue since getRequestURL() is provided by the container.

You'll need to dig a little more into exactly what is going on in the
app. I don't recall any spec changes in this area.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to