• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get modified classes/resources reloaded from JARs

Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic