tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Oestreicher" <stefan.oestreic...@netdoktor.at>
Subject RE: Html tagging
Date Mon, 11 Aug 2008 14:00:19 GMT
> -----Original Message-----
> From: Zico [mailto:mailzico@gmail.com] 
> Sent: Monday, August 11, 2008 3:44 PM
> To: Tomcat Users List
> Cc: stefan.oestreicher@netdoktor.at
> Subject: Re: Html tagging
> 
> On Mon, Aug 11, 2008 at 7:40 PM, Stefan Oestreicher < 
> stefan.oestreicher@netdoktor.at> wrote:
> 
> > why don't you just deploy your application in the ROOT context?
> 
> 
> Thanks, but i cannot your point here. What do you want to mean here?

It depends on how you're deploying your application.

Instead of placing an index.html file inside the ROOT folder you can put
your whole application in that folder, then it will be served as the ROOT
context.

If you're using a *.war with auto deployment just name it ROOT.war before
placing it into the webapps folder. Or, if you're using a *.war file outside
the webapps folder with a context descriptor pointing at that *.war, just
name that context descriptor ROOT.xml.

If it's unclear what I'm talking about, you probably should read
http://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.html.

HTH,

Stefan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message