Deloying JSPs in a JAR
843840Oct 15 2009 — edited Oct 16 2009I'm developing 2 webapps. Each webapp runs on a different machine but shares a common JAR. They also share several Controllers and JSP pages.
The Controllers are just class files and so are bundled up into a JAR file which is placed in the WEB-INF/lib directory. That works.
My problem/question is can I do something similar with the JSPs? Each application shares a common set of Controllers and JSPs as well as deploying its own.
I don't really want to have to maintain 2 copies or start copying them from a central location.
Should I create another servlet or something?
Does anyone have any advice on what I should do?
Thanks,