[opencms-dev] Redirect from Javaclass
Andras Balogh
andras at reea.net
Thu May 13 10:57:01 CEST 2004
Hello,
I think one option for this would be the HttpServletResponse object:
response.sendRedirect(url).
You can get a reference to this from CmsObject or in jsp you have a
direct reference 'response'.
Best wishes,
Andras.
Quast, Torben wrote:
>Hello again,
>
>i've got a new problem. I'm still working on my form module. This form should redirect the user to a self-made content file in case that everything is correct. My supervisor likes to edit this files with the wysiwyg-editor, so he uses a page file. Until now i solved the problem by using the body part in the class file. But in this case i can't change the contenttemplate around the body part.
>Now my question is: "is there a way or method to forward to a page file from within a javaclass?".
>Can anyone give me a hint where i should start searching?
>Thanks and best regards.
>
>Torben Quast
>MaK Data System GmbH
>Falklandstraße 1 - 3
>24159 Kiel
>Telefon: +49(0)431-3993-500
>FAX: +49(0)431-3993-998
>email: quast at makdata.de
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
>
More information about the opencms-dev
mailing list