Hello,
In Portlet-2.0, it can load resources from JAR, but is it possible to render a JSP that
store in a JAR?
For example, in the
| public doView(RenderRequest request, RenderResponse response) throws Exception {
|
| response.setContentType("text/html");
|
|
| String MY_VIEW_PAGE_JSP_IN_JAR =
.....................................................; // this file is in a JAR or class
path
|
| PortletContext context = getPortletContext();
| PortletRequestDispatcher requestDispatcher =
context.getRequestDispatcher(MY_VIEW_PAGE_JSP_IN_JAR);
| requestDispatcher.include(request, response);
|
|
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214341#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...