Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Configuration : (Category) Classloaders, Classpaths and Classloading :
How do I get my servlet classes to reload?
You must set autoreload.classes=true in your zone.properties file.

You also need to make sure that your system classpath does not contain your servlets in it. It is only possible to reload classes that are outside of the system classpath. This is because Apache JServ uses its own classloader in order to provide class re-loading functionality. If you define your classes in your wrapper.classpath= or your system classpath, then they will be loaded by the system classloader instead of the Apache JServ classloader and thus they will not be reloaded when they change.

The repositories= line in your zone.properties file is where you should place the path to your servlet class files.

[Append to This Answer]
Previous: (Answer) My servlet uses native code, how do I set the classpath?
Next: (Answer) Starting the system from the command line, does that change how things work?
This document is: http://java.apache.org/faq/?file=29
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.