[opencms-dev] (6) (OT) Getting CmsJspActionElement from struts action

Jorge González informatico at hotelparadisepark.com
Tue Jul 5 11:03:32 CEST 2005


Hi list,
this is a little off topic, but i supose every struts user must face it
sooner or later...

I need a reference to CmsJspActionElement or CmsJspBean from within an
action, but i don't know where can i get the pageContext reference.


 public ActionForward execute(
  ActionMapping arg0,
  ActionForm arg1,
  HttpServletRequest arg2,
  HttpServletResponse arg3)
  throws Exception {
   org.opencms.jsp.CmsJspActionElement cms = new
org.opencms.jsp.CmsJspActionElement():
    cms.init(???????, arg2, arg3);


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050705/652d73cd/attachment.htm>


More information about the opencms-dev mailing list