A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How does Tomcat know where to look for web applications?
Joined: Mar 04, 2008
Jun 29, 2008 12:34:00
question hopefully, how does it know where to look for web applications, is it set in some xml file?
I have tomcat installed in ../servers/tomcat
I use netbeans to create a web app, which creates it in ../NetBeansProjects/WebApplication1
How does tomcat know to look in ../NetBeansProjects/WebApplication1 ?
Joined: Dec 11, 2004
Jun 30, 2008 08:51:00
Things are a little different when you're using the embedded version of Tomcat that ships with a particular IDE.
For a default, standalone instance of Tomcat, the engines and hosts are defined in tomcat/conf/server.xml.
How to ask a question...
Simple Servlet Examples
It is sorta covered in the
JavaRanch Style Guide
subject: How does Tomcat know where to look for web applications?
Sending SMS through webapplication
Communication between servlets of two different applications
Requesting the method in the WS hangs
Deployment of web application
Communication between servlets of two different applications in Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014