tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Farbos <lionel.far...@free.fr>
Subject Re: WAR files and web.xml
Date Fri, 01 Apr 2005 15:04:05 GMT
For the same needs,
I use the Context.xml outside the war.
use the tags <Parameter .../> to pass your admin parameters.
Regards.

On Fri, 1 Apr 2005 08:26:37 -0500
Mark <elihusmails@gmail.com> wrote:

> I have a question concerning the generation of a war file and my
> web.xml file.  I want to create a WAR file for my web application
> using Ant, and place my web.xml file into the WAR file.  The problem I
> have is that once the web.xml file is placed into the web.xml file,
> users/admins will not be able to make changes to the configuration
> parameters in the web.xml file.
> For instance, I have a servlet that I load at tomcatstartup and it
> reads configuration information from the web.xml.  Now if the web.xml
> file has to be placed into the WAR file, a customer will not be able
> to customize the values contained in the web.xml file.
> 
> So, am I missing something, or is this how everything is supposed to work?  
> 
> Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message