Hi All,

In human task implementation we came across a requirement to deploy user
uploaded custom jsps. We tried to use the webapp management feature in
carbon. But as the uploaded war files are deployed in a different
application context, we are unable to include the jsps in Cabon context. We
need a change in the carbon UI framework to support loading of external jsp
pages.

Carbon UI bundle's JspServlet class loads jsp files based on the resource
name [in getResource() method]. Currently it tries to resolve the resource
bundle using the resource path and then loads the jsp from the particular
bundle. Sameera suggested that we can have a list of jsp providers where
they implement a common interface. So if a bundle cannot be resolved for a
particular jsp page (which is the case for a user uploaded jsp), we check
whether there are any implementers of this provider interface. If there are
any, the jsp's URL can be retrieved from that provider.

Feedback appreciated on this approach.

Regards,
SanjayaV.
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to