How to share jsp's across webapps


Web tier: servlets, JSP, Web frameworks: How to share jsp's across webapps

  1. How to share jsp's across webapps (2 messages)

    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,

    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.

    Thank you
    Dinakar Godithi
  2. 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.
  3. See for example Content taglib in Coldtags suite:
    You can load JSP's that are outside of your web root