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....@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to