Re: Sharing of JSP pages across multiple web apps

2003-09-05 Thread Tim Funk
Why? Thats one to complain to the spec people about. You can use Bill's idea of symlinks. My preference is to use the build process to make copies of the pages from a central repository. Another alternative is to precompile those common jsps and place them into a JAR and alter web.xml with

Sharing of JSP pages across multiple web apps

2003-09-04 Thread Ashutosh Satyam
Is it possible to share JSP page across multiple web-application within tomcat servlet container? Something like the libraries, which we want to share across multiple web application can be placed under the shared directory of tomcat. If it's not possible, why it has been not designed like

Re: Sharing of JSP pages across multiple web apps

2003-09-04 Thread Jacob Kjome
I think that is what the crossContext attribute of the Context tag is for (in server.xml or a context configuration file). I've never bothered using it so don't just take my word for it. Go ahead and read Tomcat's docs on the subject. Jake At 09:50 AM 9/5/2003 +0530, you wrote: Is it

Re: Sharing of JSP pages across multiple web apps

2003-09-04 Thread Bill Barker
It depends what you want to accomplish basically. Personally, I prefer symlinking the pages (of course, after enabling the symlink option :). This results in seperate class files for each context that uses the page, but is easy to maintain. Alternatively, you can pre-compile the JSP to