If you want to modify the servlet,will the Webserver need
to be ShutDown ?
Answers were Sorted based on User's Feedback
Answer / farhaananwar
It depends on web server you use. most morden day web server
need not to shutdown and restart to accept the recompiled
servlet class.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sanjay
No,there is no need to shutdown the webserver when we
recompile the code.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prashant
No it is not needed to shut down the web server while
modifying the servlet
But we need to Restart the web Server after modification!
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ravi shankar kuamr
Actualy this is totaly depent upon ur server whish server u
are using..nowadays if U talk about websphere application
server then there is a great facility given by IBM that U
can start ur server in Debug mode in which U can do all
modification in application( like servlets) at the same time
u are using services...
SO WE CAN SEE THAT IN CASE OF WEBSPHERE APPLICATION SERVER
IN DEBUG MODE DONT REQUARED TO SHUTDOWN WHEN ANY ONE WANT TO
MODIFY ANY SERVLETS..ITS TOTALY DEPENDS ON SERVER
| Is This Answer Correct ? | 0 Yes | 0 No |
No,Need to shutdown the Application server/webserver ,only recompile and reload of webapplication is enough after modification in servlet program.this will effected.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
When modification occurs change the attribute
reloadable=true in http connecter tag on server.xml
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / a.srnivas rao
no u dont need to shut down the server.Simply gp to web.xml
file and there u do the servletmodifications.
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / sanjay gajula
YES WE NEED TO SHUT DOWN THE WEB SERVER TO SEE THE CHANGES
MODIFIED IN THE SERVLET IN THE CASE IF IT IS TOMCAT
APPLICATION SERVER WHERE AS IF IT IS WEB LOGIC SERVER NO
NEED TO SHUT DOWN IT ,JUST CHANGE CONTEXT TO "REDEPLOY" IN
THE SERVER.XML FILE OF WEB LOGIC SERVER
| Is This Answer Correct ? | 0 Yes | 3 No |
If some new data has entered the database, explain how can a servlet refresh automatically?
How are filters?
What is a servlet engine?
What are some disadvantages of storing session state in cookies?
What is the difference between servlet and jsp?
What if you need to span your transaction across multiple servlet invocations?
Which is the methods of generated servlet?
What is Difference between JavaBeans and taglib directives?
Explain servlet.
Why do we have servlet filters?
What is java servlet session?
What are Servlets?