AW: AW: [opencms-dev] Redirect?
Thomas Lieber
Thomas.Lieber at pentasys.de
Thu Mar 1 10:21:24 CET 2001
Hello,
Thanks for your help.
Unfortunately this has not worked.
Does it work for you ?
(If yes I think I have another problem)
I simlple use this redirect in getContent().
Thomas
-----Ursprüngliche Nachricht-----
Von: Michael Breion [mailto:michael.breion at berata.com]
Gesendet am: Donnerstag, 1. März 2001 09:47
An: opencms-dev at www.opencms.com
Betreff: Re: AW: [opencms-dev] Redirect?
Hi Thomas,
Maybe your problem is this system.out.println...
Actually, HTTP standard doesn't let you send a redirection status line
(402) if the header of your page is started to be written.
That means, you cannot start a system.out.println on your page and send the
redirection status thereafter.
I hope, this can be helpful for you ;-)
Sincerely yours,
Michael
>At 19:10 28/02/01 +0100, you wrote:
>Hi,
>
>I think too this should work.
>But in my test it has no effect.
>
>A system.out.println is executed before and after
>this line!
>
>Maybe there is another problem or another solution is required.
>(Request Dispatcher ??)
>
>
>
>Thanks for your help
>
>Thomas
>
More information about the opencms-dev
mailing list