Tomcat : Problems loading servlet

A

Arun Goel

Hi,

I am running tomcat as service on Windows 2000.
Everything is fine except when I replace the servlet class file in
Web-inf/classes with an updated servlet class file. Then , if it can't
be loaded from web-browser.
IF I restart the Apache-Tomcat service everything goes fine.
Do I need to do any special settings?

Thanks in advance
Arun
 
W

Wendy S

Arun Goel said:
I am running tomcat as service on Windows 2000.
Everything is fine except when I replace the servlet class file in
Web-inf/classes with an updated servlet class file. Then , if it can't
be loaded from web-browser.
IF I restart the Apache-Tomcat service everything goes fine.
Do I need to do any special settings?

When I replace .class files, I generally reload the context. You don't have
to bring down the entire Servlet container, just the context that you've
made changes to. I use the Manager webapp, which you can get to with
http://localhost:8080/manager/html after setting up a user in
tomcat-users.xml. See the Tomcat welcome page for more info.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top