jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes restarting the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "restarting the server" Watch "restarting the server" New topic
Author

restarting the server

sandy sean
Ranch Hand

Joined: Dec 30, 2010
Posts: 69
how the changes made to JSP or servlets can be seen automatically on browser without restarting the server(say Tomcat)???

Thanks...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Servlet containers use special classloaders for JSPs so that they can be replaced with new versions without restarting anything. A change to se rvlet requires a restart of the web application, but not the server.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sandy sean
Ranch Hand

Joined: Dec 30, 2010
Posts: 69
Sorry Bear Bibeault for late responding to your answer!

A change to servlet requires a restart of the web application, but not the server.


can you please explore some more on that how web application is restarted without restarting the server(say tomcat) in order to see the changes in servlets??

and also how to see changes in web.xml or struts.xml etc without restarting the server.

Thanks...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
The details of how to restart individual web apps are specific to the servlet container. For example, Tomcat has the Manager web app (generally at http://localhost:8080/manager/html) that allows you to do this.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: restarting the server
 
Similar Threads
multiple message resource file for multiple struts-config.xml
SEVERE: BAD packet signature: SEVERE: Error, processing connection
Problem with WSAD 5.1.1
session persistance from server perspective
ResourceBundle