aspose file tools*
The moose likes Tomcat and the fly likes howto configure tomcat to hold web application~~ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "howto configure tomcat to hold web application~~" Watch "howto configure tomcat to hold web application~~" New topic
Author

howto configure tomcat to hold web application~~

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, how to i configure tomcat and make a new folder that contains web application, i don't want create subfolder in "webapp" folder ?
tq
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Your web app can exist anywhere on the filesystem that Tomcat has access. Create a new Context in server.xml for the app and specify the location as the docbase.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
sorry, bear ,i'm quite new in tomcat , i didn't get it ? can u show me more detail ?
1)example i want a make a folder "test" under c:\tomcat to hold my web application , how i set it in server.xml?
2)can i just make a folder say "test" as c:\test , rather than under c:\tomcat\test ?
tq
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Add a line like this to '<tomcat>/conf/server.xml' inside the 'HOST' tag

Rene
[ February 28, 2004: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
tq, i get it ....thks very much , Rene Larsen and Bear Bibeault
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: howto configure tomcat to hold web application~~