[opencms-dev] v 5.0.1: any experience with Jetty Servlet Server?

Andras Balogh andras at reea.net
Wed Jan 26 12:00:41 CET 2005


Hello,

This is more like a hint, try to use absolute path in the 
response.sendRedirect("http://someserver:port/somepage");
Also You may want to add a return statement after the sendRedirect 
statement because i think you don't want
the code after the sendRedirect to be executed.

Best regards,
Andras.

Lars Martin wrote:

>Hi all.
>
>Does anybody has experiences with OpenCms 5.0.1 deployed in Jetty 4.2
>Servlet Server? Everything works fine for me, except for the
>
>response.sendRedirect()
>
>call. If I write a simple JSP page using the sendRedirect() call then
>the page is redirected. But if I use sendRedirect() inside a OpenCms
>JSP page then the redirect won't work. The redirect.jsp from the
>"examples-flex-2" package also doesn't work correctly. The result is
>
>This is a redirect test
>The Date is Wed Jan 26 11:46:51 CET 2005
>
>Settign some headers:
>
>Now the redirect: Redirect finished! 
>
>What servlet server are you using and which version? Thanks, Lars
>______________________________________________________________________
>Lars Martin                             mailto:Lars.Martin at smb-tec.com
>SMB GmbH                                        http://www.smb-tec.com
>D-04347 Leipzig                                    Rohrteichstrasse 18
>Tel: +49-(0)341-699 46 04                    Fax: +49-(0)341-699 47 04
>Produkt-Manager Business Server BS1          Produkt-Manager CADDA.NET
>
>
>
>
>_______________________________________________
>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