Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why to restart server for any change in java class file

843841Apr 29 2004 — edited Apr 29 2004
Hi,
why do we have to restart the servlet/JSP server (unlike jsps) , after we change some thing in the java file and then compile it when the server is running. as the server loads the servlet or java class objects as and when rrequired. so it should take the newer version of compiled class file when request is given for it .
I am not quite sure but It is also true for web.xml file ( deployement descriptor file) also

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2004
Added on Apr 29 2004
2 comments
190 views