Re: Default Webapp

2002-05-24 Thread Ted Husted

As much as we love Tomcat, this is really the Struts list =:o)

http://jakarta.apache.org/tomcat/index.html

http://jguru.com/forums/Tomcat

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Mark Udstrand wrote:
 
 Is there a way to set a default web app under Tomcat?  For example, if I package a 
website in mysite.war, it is installed into webapps/mysite.  In order to use this 
application, the user must use the url www.mywebsite.net/mysite (assuming that your 
welcome file is present).  I would like to configure Tomcat so that 'mysite' is the 
default application so that the URL www.mywebsite.net presents the welcome file 
present in the webapps/mysite directory.
 
 Thanks.
 
 M.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Default Webapp

2002-05-23 Thread Cliff Rowley


Is there a way to set a default web app under Tomcat?  For example, if I 
package a website in mysite.war, it is installed into webapps/mysite.  In 
order to use this application, the user must use the url 
www.mywebsite.net/mysite (assuming that your welcome file is present).  I 
would like to configure Tomcat so that 'mysite' is the default application 
so that the URL www.mywebsite.net presents the welcome file present in the 
webapps/mysite directory.

Yes, by specification the context ROOT is your default application.  Deploy 
your 'default' application in webapps/ROOT.

HTH


Cliff Rowley

Tel:  +44 (0) 1206 514263
Email:[EMAIL PROTECTED]
Web:  http://www.onsea.net



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.360 / Virus Database: 199 - Release Date: 07/05/2002



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]