<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN id=m2wTl><SPAN class=250555808-05072005>Hi list,</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005>this is a little off topic, but i 
supose every struts user must face it sooner or later...</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005></SPAN></SPAN> </DIV>
<DIV><SPAN><SPAN class=250555808-05072005>I need a reference to 
CmsJspActionElement or CmsJspBean from within an action, but i don't know where 
can i get the pageContext reference.</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005></SPAN></SPAN> </DIV>
<DIV><SPAN><SPAN class=250555808-05072005></SPAN></SPAN> </DIV>
<DIV><SPAN><SPAN class=250555808-05072005> public ActionForward 
execute(<BR>  ActionMapping arg0,<BR>  ActionForm 
arg1,<BR>  HttpServletRequest arg2,<BR>  HttpServletResponse 
arg3)<BR>  throws Exception {</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005>  <!--StartFragment --> 
org.opencms.jsp.CmsJspActionElement cms = new <!--StartFragment --> 
org.opencms.jsp.CmsJspActionElement():</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005>    cms.init(???????, 
arg2, arg3);</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN class=250555808-05072005></SPAN></SPAN> </DIV>
<DIV><SPAN><SPAN class=250555808-05072005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN><SPAN class=250555808-05072005><FONT face=Arial color=#0000ff 
size=2>Thanks</FONT></DIV></SPAN></SPAN></BODY></HTML>