I recently had the occasion to try and make jasper's JspC work for my webapp. Unfortunately, it was did not work out of the box. Fortunately, I was able to patch it to make it work. The problem is that my directory structure looks something like this:
/WEB-INF/jsp/foo.jsp /WEB-INF/jsp/foo/bar.jsp JspC complained that foo was both a package name and a class name and that that was not allowed (java.util.Map.Entry not withstanding, I guess). Note that when catalina invokes jasper via the JspServlet, the class names are mangled with a "$jsp" suffix, so this problem does not occur; no idea why the algorithm is different when operating in JspC mode. In any case, I patched JspC to tack on a "$jsp" suffix to the ctctxt class name (when one has not been manually specified on the command line, that is). I'd be happy to submit a patch if someone can tell me the preferred mechanism these days. I also have a patch for JDBCRealm that generalizes it to allow the user to specify arbitrary SQL queries for getting user and role data. I posted a note about it a month or so ago to deafening silence, perhaps I'll have better luck this time? - donald -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>