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

Answers were Sorted based on User's Feedback



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

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

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

Answer / harsh

yes to make changes reflected in a class file we need to
shutdown the web server

Is This Answer Correct ?    1 Yes 0 No

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

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

More Servlets Interview Questions

How can you start a jta transaction from a servlet deployed on jboss?

0 Answers  


What do you mean by deployment descriptor?

0 Answers  


Explain the differences between jsp and servlet.

0 Answers  


how the HTML data stored in web server?

0 Answers   TCS,


Which is the methods of generated servlet?

0 Answers  






How to find whether a parameter exists in the request object?

0 Answers  


1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

5 Answers   OnMobile,


How can a servlet be used to generate plain text instead of html?

0 Answers  


What is the difference between an applet and a servlet?

15 Answers   GCEW, Miracle Solutions,


Explain the methods of request dispatcher in servlet?

0 Answers  


What is filter? Can filter be used as request or response?

1 Answers  


What is meant by Servlet? What are the parameters of service method?

0 Answers  


Categories