RE: Relative Servlet Path

2002-09-05 Thread Chuck Carson
ll it look for the db directory? Thanks, CC -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 11:40 PM To: Tomcat Users List Subject: Re: Relative Servlet Path Well, if you are talking about context.getRealPath("/"), that po

Re: Relative Servlet Path

2002-09-04 Thread Jacob Kjome
Well, if you are talking about context.getRealPath("/"), that points to the root of your webapp. If you were to append your "db/file.dat" to that, you would be looking for it in: MyContext/ db/file.dat WEB-INF/web.xml I assume you want your db file hidden from