Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deloying JSPs in a JAR

843840Oct 15 2009 — edited Oct 16 2009
I'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,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2009
Added on Oct 15 2009
2 comments
73 views