How to get modified classes/resources reloaded from JARs
posted 14 years ago
My JSP application uses a number of Java classes of my own. At the moment, I have not got around to wrapping them in a tag library or Java Beans, so the JSP includes little bits of Java to call my classes directly (I know - not the done thing). Anyway, when I first developed the application, my Java classes were placed in the WEB-INF/classes directory of my application (under Tomcat 4.0). When I revised a class, Tomcat noticed this and reloaded it. Now, due to the large number of classes, I've put them into a small number of JARs in WEB-INF/lib instead. The application works fine, but does not automatically reload classes if I update the JARs. Can I get the behaviour that I want? Would creating Java Beans and/or tag libraries help (I am guessing not)? All suggestions appreciated. #8^P
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.