This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
hi I have following entry in server.xml in Tomcat. Eventhough i set reloadable="true" I have to restart the Tomcat when i change my class file <Context path="/onjava" docBase="onjava" debug="0" reloadable="true" /> Is this attribute applicable to .jsp pages or for both classes and .jsp pages
Ajit, I use Tomcat 4.0.x on two different boxes. One is a Linux box, and the other is a Win2000 box. On the Linux box, reloadable works as you would expect. On the Win2000 box however, I must reboot just as you describe. My experience is with servlets, rather than with JSP, but since JSPs are translated into servlets anyone, I would expect the same behavior. I can't say this is a definitive answer, but I have just learned to live with the problem in the Win2000 environment. Regards, Jim
Jim Bo ! I have a similar story like you, as i have two OS win and linx i found that reloadable=true is working on linux while not on windows ... this is probably a bug of tomcat . I use to delete all servlets in the work folder to get new version of JSp as most often i get old jsp at tomcat. besides this i would also like to mention that tomcat has some problem wiht jar files and classpath issues as i faced no of problems wiht jar file from third party.