[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Apache Catch 22
Interesting little problem I ran into. I have a JSP page which needs to
refer to another servlet, so it uses
GenericServlet.getServletContext().getServlet(). I havent tested all this
fun code yet, but here's a nice little catch 22 on apache. My servlet code
and beans are in packages in the same classpath. Nothing surprising there
as I just mentioned, they are referencing servlets. Under Apache, areas are
zoned and classes are reloaded if they are not in the classpath. This
basically means that servlets are only reloaded if they exist in a defined
repository. GNUJSP runs into the exact opposite problem. The classpath
must be set in order to execute the bean. So either I get no beans or I
cant reload my servlet. Makes for one hell of a development environment.
-- Aaron