[opencms-dev] Not able to initialize CmsJspActionElement in servlet

Helen Huang HHuang at nrtc.coop
Mon Jun 27 22:57:57 CEST 2005


All,

 

I tried to initialize CmsJspActionElement in my servlet. Here is my
code:

 

 

JspFactory jspObj=JspFactory.getDefaultFactory();

PageContext
pContext=jspObj.getPageContext(this,req,resp,"",true,8192,true);

CmsJspActionElement cms = new CmsJspActionElement();

cms.init(pContext,req,resp);

String redirect=cms.link("/BC_DBS/testcms.jsp");

 

 

redirect returns:

 

+++ CmsJspActionElement not initialized +++

 

 

Any body know what is wrong with the code?

 

Thanks a lot!

 

 

Helen 

 


This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, copy, use, disclosure, or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050627/d9c21c66/attachment.htm>


More information about the opencms-dev mailing list