Once you have compiled the new servlet either jar it up or copy it
directly to your WEB-INF/classes, if you jar'd it then copy the jar to
WEB-INF/lib.
Now within moments your servlet should be available unless you have:
        - turned servlet reloading off
        - have not made an entry for the servlet in your web.xml
If you have not then delete the subdirectories within your "work"
directory, as this will cause tomcat to regenerate all the webapp files
thus providing your users with the most current version.

hope that helps...

-----Original Message-----
From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 3:01 PM
To: 'Tomcat Users List'
Subject: Servlet help


This seems like a silly question: 
when I make changes in my servlet what do I have to do to load the new
file?

I have tried just saving it. I have tried restarting Tomcat. I have
tried
recompiling the file. I have tried recompiling while Tomcat was shutdown
and
while Tomcat was running. I have tried restarting the machine. Only
restarting the machine seems to work.
Comments? Suggestions? Ridicule?

Sandra Patricia Hunter
Systems Development and Web Design 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to