tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55837] New: ServletContext.getReadPath return null
Date Tue, 03 Dec 2013 08:03:13 GMT

            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

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

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message