[opencms-dev] How to forward in OpenCms

Florian Hopf hopf at synyx.de
Fri Aug 4 13:10:11 CEST 2006


Hi,

Michael Kraus schrieb:
> when I try to forward an HTTP request to another page like this:
>
>        
> CmsRequestUtil.forwardRequest(cmsAction.link("index.html?a=1&b=2"),
> request, response);
>
Try this:
Map params = CmsRequestUtil.createParameterMap("a=1&b=2");
CmsRequestUtil.forwardRequest("index.html", params, request, response);

Kind regards
Florian

-- 
/**
 * Florian Hopf
 * Synyx GmbH & Co. KG
 * phone  +49(0)721 9118303
 * eMail  hopf at synyx.de
 * www    http://www.synyx.de
 * irc    irc://irc.synyx.de
 */




More information about the opencms-dev mailing list