This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Resources context in tomcat
 
Similar Threads
HTTP Status 404 -- Apache Tomcat/4.1.18
Entries in Web.xml file
requested resource() not found for simple HTML?
yet another 404 status code message
no class def found error