when you comppile the servlet is it neccesary to restaet the
tomcat server?

Answers were Sorted based on User's Feedback



when you comppile the servlet is it neccesary to restaet the tomcat server? ..

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

when you comppile the servlet is it neccesary to restaet the tomcat server? ..

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

when you comppile the servlet is it neccesary to restaet the tomcat server? ..

Answer / fasihuddin

Yes it is absolutely necessary to restart the Tomcat server.

Is This Answer Correct ?    4 Yes 2 No

when you comppile the servlet is it neccesary to restaet the tomcat server? ..

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

when you comppile the servlet is it neccesary to restaet the tomcat server? ..

Answer / sachin

reloadable=true has some problem in tomcat5.x or later

Is This Answer Correct ?    0 Yes 1 No

when you comppile the servlet is it neccesary to restaet the tomcat server? ..

Answer / ravikiran.chd

yes

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

What do you mean by servlet context?

0 Answers  


What is use of parseQueryString?

1 Answers  


where the generated jsp source file are stored?

7 Answers   HCL,


What are the methods in HttpServlet?

8 Answers  


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

0 Answers   IBM,






What is the procedure of invoking different servlet in a different application?

0 Answers  


Why servlet is used as controller ? Not JSP? I want complete explation?

0 Answers   Tech Mahindra,


What are the key methods that are involved in processing of http servlets?

0 Answers  


Name the packages that work with servlet?

0 Answers  


What is cookie in servlet?

0 Answers  


What are life cycle methods of a servlet?

0 Answers  


How do we call one servlet from another servlet?

0 Answers  


Categories