tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <>
Subject Re: Tomcat 5.5 context.xml, how to configure the Host element
Date Mon, 25 Aug 2008 22:50:18 GMT
jerrycat wrote:

> I understand that Tomcat 5.5 prefers that your web application comes with a
> context.xml file under the META-INF folder. 


> So I added a context.xml file under the META-INF folder of my web
> application, please have a look below. 
> context.xml 
> [code] 
> [/code] 

Looks very ... hm ... clean.

> Ok, that is good so far, but how do I configure the Host element. 
> I mean how do you link a specific Host to a specific Context? 
> before, the Context element was a sub element of the Host element, now it is
> completely separated. 

Deploy your webapp to the directory you configured as appBase for the 
corresponding host.

> Host element in server.xml
> [code] 
> [/code] 

Rather clean also.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message