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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by session tracking and also explain its techniques?

673


What is SingleThreadModel interface?

863


What are the life-cycle methods for a servlet?

723


Write the code to get the server information in servlet.

776


Explain get and post.

856


What are the steps that are involved in using the httpservlet class?

816


When jsessionid is created?

760


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2335


How to get the server information in a servlet?

884


How can an existing session be invalidated?

862


What is api in servlet?

741


Tell us something about servletconfig interface.

761


Why is init() method is used in servlets?

724


What is the workflow of a servlet?

890


Which HTTP method is non-idempotent?

798