https://issues.apache.org/bugzilla/show_bug.cgi?id=57556
Bug ID: 57556
Summary: getServletContext().getRealPath("/") returns path not
ending with /
Product: Tomcat 8
Version: trunk
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Specification APIs
Assignee: [email protected]
Reporter: [email protected]
I have been using this "getServletContext().getRealPath("/")" till Tomcat6 and
i got the return string path ending with slash.
For Example getServletContext().getRealPath("/") will return
E:/TomcatHome/webapps/CRM/
But when I tried with Tomcat 8.0.14 I got path without slash
For Example getServletContext().getRealPath("/") will return
E:/TomcatHome/webapps/CRM
Ending slash missing
Is there anything changed in Tomcat 8 and is there any configuration I can make
to get the result that I got in previous version of Tomcat, because if I have
to change in code, I have to change in lot of places in all the webapps I
created.
--
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]