I understand that Servlet 3.0
's enhancements have made it possible to display a .jsp
from a .jar
, based on Can I serve JSPs from inside a JAR in lib, or is there a workaround?
However, I don't seem to be able to connect my View (jsp in jar WEB-INF/lib Tomcat 7 and classic spring MVC context configuration in a War) with the Model and the Controller of my Web App.
Is there a good way to share the dispatcher Servlet, or perhaps create a CustomViewResolver
which could scan .jsp
s included in external JAR
s, and actually plug my jar
into a unique spring context?