tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cicale" <i...@alsoftware.it>
Subject Re: [programmazione] how to set context path on TOMCAT6
Date Thu, 21 Aug 2008 08:21:25 GMT
In  the way I explained you create a application specific xml.
the META-INF directory containing the context.xml is in your application, in 
your war file.



--------------------------------------------------
From: "Sushil Dodake" <sushil.dodake@gmail.com>
Sent: Thursday, August 21, 2008 9:52 AM
To: "Tomcat Users List" <users@tomcat.apache.org>
Subject: Re: [programmazione] how to set context path on TOMCAT6

> my requirement is to create a application specific xml file.
> am i making any mistake here?
>
> On Thu, Aug 21, 2008 at 2:35 AM, Luca Cicale <info@alsoftware.it> wrote:
>
>> A simple way is to put in your web application a file named context.xml 
>> in
>> META-INF directory, with the following content:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <Context path="/reporting-application" />
>>
>> then you can produce your war and deploy it as usually (a simple way is 
>> to
>> place it in your webapp directory in default tomcat6 configuration)
>>
>> Tomcat6 will make the rest of the job for you.
>>
>> Regards
>> Luca Cicale
>>
 


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