DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6066>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6066

Trouble with <jsp:forward> in hyperlinks

           Summary: Trouble with <jsp:forward> in hyperlinks
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Consider a infra-structure like

MyApp/
MyApp/index.jsp
MyApp/Dir1
MyApp/Dir1/page1.jsp
MyApp/Dir2
MyApp/Dir2/page2.jsp

in index.jsp I've links like:

<a href='Dir1/page1.jsp'>My Page 1</a>
<a href='Dir2/page2.jsp'>My Page 2</a>

and in page1.jsp and page2.jsp (two with same code) I've only following code:

<jsp:forward page='../index.jsp'/>

Second time that page index.jsp appear on the screen, whe I try to click any 
hyperlinks I get 404 error page not found.

When pointing hyperlink, in status bar (IE 5) appear as

http://localhost/MyApp/Dir1/Dir1/page1.jsp

for the first link.

The exactly same problem occur when working with form based authentication.

Thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to