Web tier: servlets, JSP, Web frameworks: How to share jsp's across webapps
Can two different webapps hava a common jsp's, if so how what are the things that need to be addressed for the common jsp's,
- Posted by: Dinakar Godithi
- Posted on: April 05 2005 23:49 EDT
In my application, we are developing 2 web apps,
webapp1 , contains a set of common jsp's which are going to be referred in the webapp2.
Maybe you can precompile these jsp's to servlets via jspc, jar them and put this jar to shared/lib. add the mappings to both web.xml's. I never did it, but i think it must work.
See for example Content taglib in Coldtags suite:
You can load JSP's that are outside of your web root