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 are the functions of an intercepting filter?

703


Which application server is best for java?

756


Write a command to get actual path of a servlet to the server?

747


How do you create a cookie using servlet?

817


Explain mvc pattern.

756


How we can create war file in servlet?

838


What is the default http method in the servlet?

997


What do you mean by url pattern in servlet?

815


What is generic servlet class?

792


What are the objects involved when a servlet receives a call from client?

744


Explain the difference between jsp and servlet?

767


How do you design microservices?

811


What are the steps involved in placing a servlet within a package?

821


Write a hello world program using servlets.

781


What is cgi?

773