Markus,
Do I just move the <context> statements out of server.xml and into
context.xml?
or is there something else I have to do. If thats all I have to do do I
place them before or after the watched element tag that is already in the
context.xml file?

Dick Steflik



Markus Schönhaber-10 wrote:
> 
> 09.12.2009 15:31, steflik:
> 
>> I'm teaching a Web Programming course and am using Tomcat 6 for the
>> servlet/jsp portion of the course. I have created a context for each
>> student
>> in the server.xml file and it seems to work pretty good but if a student
>> modifies the web.xml file in their application I have to restart the
>> sever
>> before it takes effect. Is there a way to configure Tomcat so that
>> changes
>> in a users web.xml file will be automatically sensed by the server and
>> take
>> effect immediately?
> 
> Adding <Context>s to server.xml is strongly discouraged nowadays. Among
> the reasons for this discouragement is exactly the problem you're facing
> now.
> See
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> 
> -- 
> Regards
>   mks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-Config-Question-tp26711131p26779949.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to