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 jsp app outside of tomcat directory structure 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 "jsp app outside of tomcat directory structure" Watch "jsp app outside of tomcat directory structure" New topic
Author

jsp app outside of tomcat directory structure

Dragan Jovanovic
Greenhorn

Joined: Feb 07, 2008
Posts: 15
I'm sure it can be easily done, but I just can't find it.
I want my tomcat application source code to be outside tomcat installation directory structure. And I would still like default (http://localhost:8082/) URL to point to a version of application inside the catalina_home (because of deploying), so I don't want to change any existing settings, just want to add a new folder in which tomcat will search for the jsp files.
I added following lines :

into server.xml file, but it looks like it doesn't work. Am I on the right trace _
 
Don't get me started about those stupid light bulbs.
 
subject: jsp app outside of tomcat directory structure
 
Similar Threads
Using Examples from a book
Using Eclipse for Web App
JSP's and class files.....
JSP 404 error with web.xml
we can deploy a folder instead of jar or war what is the difference