-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


Hi,
On Mon, 30 Aug 1999, Alex Shneyderman wrote:
AS| If I put my SERVLET tag BEFORE any HTML
AS| then redirect works. However redirection does not work
AS| if I generate any html before redirecting to the URL
AS| I need (suppose I put SERVLET tag inside html body). 

AS| Is this a limitation of JSSI or am I doing something wrong 
AS| here. In any case your help is appreciated.
This is implementation dependant. The servlet engine cannot send headers,
once content has been generated. But in your case, there is a solution:
set the 'buffered' init argument of JSSI to 'yes'. This buffers any
output and lets you set headers (and redirects are done with headers).

ciao,
  -hen
---
Henner Zeller                                 [EMAIL PROTECTED]
 PGP pub key [77F75B39]: finger [EMAIL PROTECTED] 

 If Microsoft is the answer, it must have been a VERY silly question.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to