public class BundledJspView extends JstlView implements BundleContextAware

This is a class that should be used as the viewClass with Spring view resolvers in order to support loading of JSP pages coming from OSGi bundles in Tomcat. This class will set the org.apache.catalina.jsp_file attribute in the request. That attribute is recognized by Tomcat and will make it load the JSP from the bundle. When registered as bean, this will obtain the bundle context (since it implements org.eclipse.gemini.blueprint.context.BundleContextAware and will point Tomcat to resources of the bundle the context comes from.



public void render(Map<String, ?> model, HttpServletRequest request, HttpServletResponse response)


public void setBundleContext(BundleContext bundleContext)