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

Answer Posted / tulasivani

Yes, its essential to shutdown the web server if we have
made any modification to the servlet.The servlet contains a
text file and a classfile, if a modification is made to the
text file it will not be reflected in the classfile which
is used.Thus, the previous file i.e. before modification
will be stored in the server and it will not reflect the
changes.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why we should override only no-agrs init() method.

678


What do you mean by cgi?

532


Explain web application directory arrangement?

589


what is servlet chaining?

623


How native code can be used in a servlet?

3520






What is a servlet-to-servlet communcation?

648


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

581


How do you load an image in a Servlet?

658


List some life cycle methods of a servlet.

592


Which is better jsp or servlet?

555


What is servlet in web technology?

577


How to get the actual path of servlet in server?

737


List out the difference between ServletConfig and ServletContext?

600


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

570


What are the differences between servlet context vs servlet config?

578