aspose file tools*
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
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: 61768
    
  67

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: 42946
    
  70
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: restarting the server