aspose file tools*
The moose likes Servlets and the fly likes how to read from a property file within web directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to read from a property file within web directory" Watch "how to read from a property file within web directory" New topic
Author

how to read from a property file within web directory

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
Could anyone show me how to configure a property file within the following dir:

webroot contains the following src, WEB-INF, and config which is where I want my property files to reside. Any help would be greatly appreciated.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I'm moving this to the Servlets form --- seeing as though this deals with the sevlet spec.

Please post your replies there. Thanks!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

http://wiki.apache.org/jakarta-tomcat/HowTo

Third item in the list.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read from a property file within web directory