The response has probably already been sent out.
Is your page like such: mypage.shtml
/////////////////////////////////////
HTML code.
<Servlet Tag>
HTML code.
<Servlet Tag>
HTML Code.
///////////////////////////
Are you within the <Servlet Tag> code sending the res.sendRedirect()? If you are, then the response more than likely has been sent back to the user. Thus, not allowing you to send a redirect. Don't set an response.flush() statements this will send the response out.
Hope it helps!
Nick
-----Original Message-----
From: Gursharan Singh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 11:27 AM
To: [EMAIL PROTECTED]
Subject: jservssi
Hi,
I am using JSSI to handle SERVLET tags in my HTML pages. The problem is I am unable to do a redirect from these servlets when they are invoked by the SSI servlet. I am using a simple res.sendRedirect(); the same servlet redirects when it is invoked directly (and not from SSI servlet).
Thanx in advance
Gursharan
Get Your Free E-mail at http://www.indiatimes.com
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]