Re: How can JSPs be part of an integrated component?

2006-12-30 Thread Lee Crawford
It's not the web.xml that's specific to Tomcat, it's the compiled JSP classes (to be frank other JSP compilers might select totally different filenames rendering the web.xml specific to Tomcat too). Have a look at the .class files that are in the catalina-admin.jar. The classes look like:

How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
I'm trying to figure out how a servlet running in the Tomcat container can access jsp's that are included as part of a jar that has been installed in the WEB-INF/lib directory? Obviously they can't be accessed from the outside via URI's but I was hoping that they could be accessed from the

Re: How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
Yeah, I'm trying to avoid using Velocity and make JSP a more appropriate templating language. The framework is doing all the processing and delegating to JSPs as templates. --lee On 12/29/06, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Lee Crawford wrote: To give more context, I have

Re: How can JSPs be part of an integrated component?

2006-12-29 Thread Lee Crawford
Charles, Sure, that works if you're banking on Tomcat as your deployment target, but the classes that you've compiled and hardwired (there many lines of hardwiring in the admin web.xml) to Tomcat. I'm still looking for something a bit more portable. Thanks for your answer, though. --lee On