At 11:29 PM 14/08/2000 +0200, you wrote:

Hello.

When i try to send a redirect in a servlet i can't get i to work
when accessing the servlet through SSI.
The servlet wors perfect when i access it direct but when i do
so trough a jhtml page everything works fine but the sendRedirect.

Is it so that the JSSI cant handle a redirect or is it me doing
something wrong.
You can't do redirects in SSI because the HTTP headers have already been written by the time your servlet gets executed, and redirects need to go in the headers.

cheers,
 .clint

==[ Clint Heyer ]==============================================
IRC: 'TheShadow' on irc.uq.edu.au
CELL: 0401-041-854                              
--------------------------------------[ http://www.clintheyer.com ]--------

Reply via email to