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 |
Difference between forward() method and sendredirect() method ?
What are the types of protocols supported by httpservlet ?
Is it good idea to create servlet constructor?
can i call init() method in destroy() method of servlset. ?
What is context in servlet?
where the session data will stored?
what is SSL?
What are the features added in Servlet 2.5?
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 >>
How does java thread pool work?
What is session?
How servlets can be automatically reloaded?