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 to pass a requrest object of one servlet as a request object to another servlet?

4 Answers   Verizon,


What do you mean by session tracking and also explain its techniques?

0 Answers  


What is servlet container. how it works?

0 Answers  


What is string tokenizer?

0 Answers  


What is the requirement of servlet config and servlet context implemented and how are they implemented?

0 Answers  


Explain life cycle of a Servlet?

2 Answers  


The code in a finally clause will never fail to execute, right?

0 Answers  


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

0 Answers  


why are extending GenericServlet and why are extending HttpServlet explain?

7 Answers  


Why is httpservlet declared abstract?

0 Answers  


Which application server is best for java?

0 Answers  


What is servlet api used for conneting database?

0 Answers  


Categories