Re: Tomcat 5.5.12: Output unchanged when servlet changes




<pit.grinja@xxxxxx> wrote in message
news:1133113653.929753.67770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks for the quick response. I checked for the text "reload" in all
xml files in my tomcat directory tree, and didn´t find much useful
hits. I then started playing around with the web.xml file, and it
turned out that simply changing it (insert a space, then delete it)
would make tomcat to reload servlet. Seems hackish, though. Maybe
things will become clearer over time.

Okay I've had a look,
the attribute is in the xml file for the context that represents your web
app.
I've just delved back into servlet stuff myself and this has changed in the
latest tomcat.

Your context name is typically the root name of the url, so the last element
in: localhost/myWebapp

so look for xml called myWebapp.xml under tomcat\conf\Catalina\localhost.
The xml tag is liek this:
- <Context docBase="c:/xxx/webapps" debug="0" privileged="false"
reloadable="true" crossContext="false">

make sure reloadable is 'true'

--
Mike W


.



Relevant Pages