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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a filter and how does it work?

547


What is the purpose of inter-servlet communication?

601


Is servlet a framework?

551


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

638


How do you define a servlet?

532






What if we pass negative value in load-on-startup?

816


Why is http protocol called as a stateless protocol?

541


Explain the differences between jsp and servlet.

548


How servlets are deployed in java?

554


How can you push data from an Applet to a Servlet?

620


What are the advantages of servlets over traditional cgi?

636


What must be implemented by all servlets?

583


What is webservlet?

546


Elucidate servlet attributes and its scope?

578


What if you need to span your transaction across multiple servlet invocations?

589