tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <tomcat-us...@list-post.mks-mail.de>
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. 

OK.

> 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.

Regards
   mks

---------------------------------------------------------------------
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