tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [Fwd: jsp:forward bug???]
Date Fri, 02 Jun 2000 17:37:16 GMT
Torsten Glunde wrote:
> Hi ,
> we try to make a jsp:forward to a page a.jsp which locates on the root
> directory of the server. if we make the forward from a site deeper in
> the directory structure the browser requesting the page comes to a.jsp,
> but the path doesn`t change. As a result relative links in a.jsp are
> broken.
> Example:
> page from /www/dir/forward.jsp
>         <jsp:forward page="../../index.jsp"/>
> when we try to access forward.jsp we get the index.jsp but with the url
> /www/dir/forward.jsp in the browser.
> Is this perhaps a bug, or does we misunderstand the specs?

AFAIK the URL in the browser is not supposed to change if we have a 
jsp:forward in the page. 


View raw message