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: [email protected]
Reporter: [email protected]
[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: [email protected]
For additional commands, e-mail: [email protected]