when you comppile the servlet is it neccesary to restaet the
tomcat server?
Answers were Sorted based on User's Feedback
Answer / prapanch
if you are deploying the application with a war file then
no need to restart the tomcat server, but you need to
redeploy it to create a new war file as one of your servlet
had changed.but if you are doing in another way like
creating a folder in web-apps copying all the classes to
classes folder like then you need to stop and again start
the tomcat.clear.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / srinivasan
It is not necessary. You can set the server.xml file there
you will find http connector tag there in it you have to set
the parameter reloadable=true. then it is not necessary to
restart the tomcat server. just by compiling it will give
the latest compiled class file on the console of tomcat.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / fasihuddin
Yes it is absolutely necessary to restart the Tomcat server.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / imambasha
i am sure that it's not necessary to restart the server..
we can select the "reload" option in the Tomcat/manager
window to reload all the components under a webroot...
but if u want or need to load entirly anew we application
into the server it's must..
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sachin
reloadable=true has some problem in tomcat5.x or later
| Is This Answer Correct ? | 0 Yes | 1 No |
What are all the protocols supported by httpservlet?
What is a Proxy Server?
what is the difference b/w DispatchAction and LookUpDispatchAction?
1 Answers Deloitte, iGate, Tech Mahindra,
What is servlet and its life cycle?
What are the differences between the servletconfig interface and the servletcontext interface?
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?
What are the classes and interfaces for servlets?
What are life cycle methods of a servlet?
What is a web container and what is its responsibility?
What's the advantages using servlets than using cgi?
What are the new features added to servlet 2.5?
What are the differences between forward() method and sendredirect() methods?