Is there any need to shutdown the web server, if you want
to modify a servlet?

Answer Posted / devendra

yes, it is essential to shutdown the web server if we have
made any modifications. but we have another alternative way
without if u r using tomcat then it has server.conf server
configuration file just go to that and set the property
something like <Defalutcontext reloaded="true"> just make
it true so that thr is no need to shoutdown server. it will
take changes automatically..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between using getSession(true) and getSession(false) methods?

574


What are the advantages of Servlet over CGI?

670


Which event is fired at the time of session creation and destroy?

879


Is servlet synchronized?

605


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

622






How servlets are deployed in java?

546


What is the difference between servlet and jsp?

602


How do you find out what client machine is making a request to your servlet

533


Is servlet a server side scripting language?

554


What do you mean by singlethreadmodel interface?

582


What is preinitialization of a servlet?

586


What is the structure of the http response

677


What is life cycle of Servlet?

607


What are some advantages of storing session state in cookies?

598


What is servlet mapping?

603