Thread View: comp.lang.java.programmer
1 messages
1 total messages
Started by Li Ma
Thu, 29 Mar 2001 05:55
Javascript/Jsp question:wrong document.location after <jsp:forward...>
Author: Li Ma
Date: Thu, 29 Mar 2001 05:55
Date: Thu, 29 Mar 2001 05:55
14 lines
1612 bytes
1612 bytes
I got this problem in my code.
In test1.jsp, I forward current page to test2.jsp using
<jsp:forward url="test2.jsp"/>
In test2.jsp, I want to get document.location in javascript. But I got
test1.jsp instead of test2.jsp.
This happened on Tomcat 3.2. Is this a Tomcat bug or it's what suppose to
be?
And if it's supposed to be like that, then how can I know which real page I
am in from Javascript?
Thanks!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads