On 14/12/2009 18:46, steflik wrote:
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?
There should be multiple context.xml, one for each webapp, in it's
META-INF folder.
The global conf/context.xml should contain only general settings you
wish to apply to all webapps.
p
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org