You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/07 21:11:27 UTC
BugRat Report #80 has been filed.
Bug report #80 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/80>
REPORT #80 Details.
Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment:
Release: Tomcat4.0
JVM Release: all
Operating System: all
OS Release: all
Platform: all
Synopsis:
Relative path is always taken from the server root?
Description:
Hi:
If we have any index.html under some Context root( eg.JSP11ActPosTests ) and have relative links like test1.jsp
they are expanded as
http://servername:port/test1.jsp
instead of
http://<servername>:<port>/<ContextRoot>/test1.jsp
Similary if we have a HTML form in the html page under some context root and mention relative path to another JSP in the same application it won't work unless we mention the /<contextroot>/<jsppage> , which will force us to fix the context root. this will cause problem even when we try to integrate Tomcat code into J2EE where we can dynamically decide the Conext Root. Tomcat 3.X works fine by using contextpath when we just give relative path.
Thanks
-Ramesh.Mandava