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

Difference between forward() method and sendredirect() method ?

0 Answers  


What are the types of protocols supported by httpservlet ?

0 Answers  


Is it good idea to create servlet constructor?

0 Answers  


can i call init() method in destroy() method of servlset. ?

5 Answers   IBM,


What is context in servlet?

0 Answers  






where the session data will stored?

4 Answers  


what is SSL?

3 Answers  


What are the features added in Servlet 2.5?

0 Answers  


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

0 Answers   ProKarma,


How does java thread pool work?

0 Answers  


What is session?

0 Answers  


How servlets can be automatically reloaded?

3 Answers  


Categories