Hi, out of frustration I've started a new experiment, which should check the
web.xml during build-time instead of web-deploy time.The idea is to let is
check the content of the web.xml and more. Up untill now I've managed to:- let
our jaxb2-m-p generate the classes from
java.sun.com/xml/ns/j2ee/web-app_2_4.xsd- validate the xml- verify that
class-references do exist and have the right interface (Filter, Servlet, all
kinds of Listerens) and that the classes can be initiated. what I'd like to do
as well is call the javax.servlet.Filter.init(FilterConfig) +
javax.servlet.Filter.destroy() and the
javax.servlet.Servlet.init(ServletConfig) + javax.servlet.Servlet.destroy()
without a webcontainer(!) But now I'm facing the following problem: If I create
a new URLClassloader and add all required dependencies from the project
(including it's servlet-api version X), I can't manage to call the method
because it's part of one child-classloaders insterad of the parent.I noticed
Classworlds has some strategies, but it´s hard to find the right docs. Anyone
any solution? -Robert