• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web App Configuration

 
Srinivasan Madhavan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone throw light as to where in TOMCAT, it is specified that the default web-app is the ROOT directory? For instance in Weblogic6.1 it is the "config" file in C:\bea\wlserver6.1\config\mydomain.

Thanks,
Srini
 
Guido Schoepp
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Srinivasan Madhavan:
Can anyone throw light as to where in TOMCAT, it is specified that the default web-app is the ROOT directory? For instance in Weblogic6.1 it is the "config" file in C:\bea\wlserver6.1\config\mydomain.


One way to configure this is the server.xml file by adding an appropriate context for the host:
<Context path="/" docBase="C:\Tomcat 5.0\webapps\WHATEVER" ... />

Guido
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic