aspose file tools*
The moose likes Tomcat and the fly likes Resources context in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Resources context in tomcat" Watch "Resources context in tomcat" New topic
Author

Resources context in tomcat

jo das
Greenhorn

Joined: Sep 26, 2008
Posts: 4
Hi,

I'm using tomcat 5.5.27, and i'm loading some configuration parameters via a standard .ini file into my servlet. the problem i'm having is in wiring up a local context - when i try a System.getProperty("user.dir"), the context appears as a subdirectory of the tomcat installation, ie the bin folder (have tried on a few machines & installs) - but i'd like for it to exist within the directories of the servlet itself. from what i'm reading the context.xml file is defunct now - when i add it, the server tells me it's being ignored. so i'm not sure what i'm missing here? any pointers be very much appreciated!

cheers,

gina
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resources context in tomcat