RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-16 Thread Sasikumar Muralikrishnan
Hi all, Thanks for all your response for my question. Here is something I got finally https://bz.apache.org/bugzilla/show_bug.cgi?id=57556 Thanks, Sasi Kumar M. -Original Message- From: Sasikumar Muralikrishnan [mailto:sasiku...@pointelsolutions.com] Sent: Tuesday, February 10, 2015

RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
15 9:14 AM, Sasikumar Muralikrishnan wrote: > Hi André Warnie, > > Great thanks for your response. > > But here, I am not writing anything inside the web application. > > 1. I have a flat file in the web application and it has some configurations > details, which I use for t

RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
] Sent: Tuesday, February 10, 2015 2:29 PM To: Tomcat Users List Subject: Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8 Sasikumar Muralikrishnan wrote: > Hi Team, > > Using this method > > getServletContext().getRealPath

Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
Hi Team, Using this method getServletContext().getRealPath("/") returns '\' at the end when I run my project in Tomcat 7 whereas it is not working as such in Tomcat 8. For example, In Tomcat 7 it returns as "D:\Tomcat\webapps\project\" In Tomcat 8 it returns as "D:\Tomcat\webapps\project" At p