Is there any need to shutdown the web server, if you want
to modify a servlet?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are different methods of session management in servlets?
Which exception is thrown if the servlet is not initialized properly?
What are the servlet events?
When servlet is loaded?
What are the functions of an intercepting filter?
What is with the javax.servlet package naming?
What is the difference between the include() and forward() methods?
how to make the IP address to .com
What is the use of httpservletrequestwrapper?
What is new in ServletRequest interface ? (Servlet 2.4)
What is the procedure of invoking different servlet in a different application?
What is the use of httpservletresponsewrapper?