Thanks Paul.
I have checked that reloading is set to true and there is an entry for my
servlet (it wouldn't run otherwise would it?) in my web.xml file.
Just as an aside: what is the purpose of the work folder? 

Sandra Patricia Hunter
Systems Development and Web Design 
 


-----Original Message-----
From: Paul Gregoire [mailto:[EMAIL PROTECTED] 
Sent: March 26, 2003 3:14 PM
To: Tomcat Users List
Subject: RE: Servlet help


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]


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

Reply via email to