• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

restarting the server

 
sandy sean
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sandy sean
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic