On Mon, 19 Mar 2001, [iso-8859-1] Jose Ramon Rodriguez wrote:
> Hi all!
> I'm a newbie with Tomcat and I'm developing some servlets. So, I'm
> changing frequently the code of my servlets: change the servlet's
> code, compile it with javac, and so on...
>
> My web.xml file is ok. Tomcat loads it when it's started. There is
> the structure of my web application.
>
> But when I update the code of a servlet, my browser shows the
> previous one. I have to shutdown Tomcat and startup it again and
> again every time I change my servlet's code....it's a boring task!!!
>
> Although I push the update button in my browser, it doesn't
> work... :-(
>
> Anyone could help me?
Do you have your context defined in server.xml? Did you use
'reloadable="true"'? (That should be default, anyway.)
My first/best guess is that your servlets are on your classpath
(perhaps instead of or in addition to being available to tomcat), and
hence is being loaded by the system classloader, and hence is not
subject to reloading.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]