tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55837] New: ServletContext.getReadPath return null
Date Tue, 03 Dec 2013 08:03:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55837

            Bug ID: 55837
           Summary: ServletContext.getReadPath return null
           Product: Tomcat 8
           Version: 8.0.0-RC5
          Hardware: Macintosh
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: oschina.net@gmail.com

[code]
String path = servletContext.getRealPath('/test');

if no file or folder named '/test' exist in webroot 
then path return null

but int tomcat 5\6\7, it will return the correct value , ex
/data/oschina/webapp/test

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message