You can keep your config files in your webapp root or any
subdirectory in that.
Use application.getRealPath("") to get the full path of the webapp root.-Prasanth
[EMAIL PROTECTED] wrote:
sir, Actually my jsp pages are under /webapps/Raja directory, I want to refer one config file called conf.properties my question is where I have to keep this file so that it is visible to my jsp, How I have to specify the config file path, whether I have to give full path like C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Raja\input\conf.properties or ..\\input\\conf.properties is enough ?. Plz help me . -Raja.
_________________________________________________________________ MSN Hotmail now on your Mobile phone. http://server1.msn.co.in/sp03/mobilesms/ Click here.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
-- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
