tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #671 has been filed.
Date Thu, 28 Dec 2000 18:04:03 GMT
Bug report #671 has just been filed.

You can view the report at the following URL:


REPORT #671 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: non-critical
Confidence: public
   Release: 3.2
   JVM Release: 1.3, 1.2.2
   Operating System: Solaris, Linux
   OS Release: 2.7, 2.2.17
   Platform: Sparc, Intel

getRealPath get's too much path

For the examples context that comes with Tomcat, a JSP page that contains the expression <%=application.getRealPath(request.getContextPath())%>
returns /<realpath>/examples/examples.  It's just a pain because you have to trim the
extra /examples to get the correct path.  If you specify a docbase other than webapps, you
get the same problem.

View raw message