[opencms-dev] Using getContent() method in a Struts-action?
Daniel Wiesner
daniel.wiesner at av-studio.de
Mon Jan 17 12:59:30 CET 2005
How can I use the getContent method in a struts action?
in my actin class I have:
JspFactory _jspxFactory = JspFactory.getDefaultFactory();
PageContext pageContext = _jspxFactory.getPageContext(this.getServlet(), request, response,null,true, 8192, true);
CmsJspActionElement cms = new CmsJspActionElement(pageContext,request,response);
...
I get this error:
javax.servlet.ServletException: org.opencms.jsp.CmsJspActionElement is
usable only on a OpenCms controlled JSP page
best regards
Daniel
More information about the opencms-dev
mailing list