[opencms-dev] Redirect?

Stephan Hartmann beffe at beffe.de
Wed Feb 28 18:38:09 CET 2001


Hi Thomas,

do this:

in method
    public byte[] getContent(CmsObject cms, ....)

treat this cms like this:

cms.getRequestContext().getResponse().sendRedirect("http://to/whereever/you/
want");

i didn't try it but it should work.

cu
Stephan

-----Ursprüngliche Nachricht-----
Von: Thomas Lieber <Thomas.Lieber at pentasys.de>
An: <opencms-dev at www.opencms.com>
Gesendet: Mittwoch, 28. Februar 2001 09:10
Betreff: [opencms-dev] Redirect?


> Hello,
>
> does anyone know how to redirect from one page too another ?
>
> I mean e.g after checking input from an template in an derived class in
> public byte[] getContent(..) { }
>
> Or any other way
>
>
> Thanks for help
> Thomas
>
>




More information about the opencms-dev mailing list