Custom Web-app Loader - How To?
I have a web app which needs to have its docroot visible to the web app classloader immediately before WEB-INF/classes and WEB-INF/lib/*.jar.
In Tomcat I do this easily enough by doing some trivial subclass extension of the web app loading classes and calling out my extended classes as part of my web app deployment XML.
Is any similar approach possible for Glassfish?
I know about the extra-class-path bit in sun-web.xml -- that helps but it appends to the web app classpath rather than inserts, which is a critical difference in this case.