wood burning stoves*
The moose likes JSP and the fly likes Changes on JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Changes on JSP" Watch "Changes on JSP" New topic
Author

Changes on JSP

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Whenever we made any dynamic changes over JSP...Do we need to restart the server or it reflect automatically.. and if it is reflecting automatically, then how did this happen?


No Kaustubh No Fun, Know Kaustubh Know Fun..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Servlet containers use custom classloaders to reload JSPs when they detect that they have changed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Thanks, But where I can find this into more details BEAR?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

You could download Tomcat's source, or research information on class loaders.
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

Try looking googleing tomcat hot deploy. You can switch tomcat the with Container you are using.


OCJP6, OCWCD5
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

This works for me :)
 
 
subject: Changes on JSP