Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does Tomcat know where to look for web applications?

 
Mike Rolf
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Simple Tomcat question hopefully, how does it know where to look for web applications, is it set in some xml file?

For example;

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 ?

Cheers,

Mike
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic