If you want to modify the servlet,will the Webserver need
to be ShutDown ?

Answers were Sorted based on User's Feedback



If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

Answer / sanjay

No,there is no need to shutdown the webserver when we
recompile the code.

Is This Answer Correct ?    1 Yes 0 No

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

Answer / sumitpalsingh

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

Answer / ravikiran.chd

yes we have to redeploy

Is This Answer Correct ?    0 Yes 1 No

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

If you want to modify the servlet,will the Webserver need to be ShutDown ?..

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

Post New Answer

More Servlets Interview Questions

How to invoke a Servlet?

2 Answers   Mastek,


What is a deployment descriptor?

0 Answers  


Why the container loads server at the application startup and how?

0 Answers  


What are the different methods involved in the process of session management in servlets?

0 Answers  


What are the different methods involved in generic servlet?

0 Answers  






What is the use of Servlets?

7 Answers   Infosys,


Write all the phases defined in servlet life cycle?

0 Answers  


What is a servlet-to-servlet communcation?

0 Answers  


How the servlet is loaded?

0 Answers  


How can we upload the file to the server using servlet?

0 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


Why are http servlets used in programming?

0 Answers  


Categories