This is probably because you have already written something out. Usually
best to do the page generation at the last stage after all processing is
complete.
----------------------------------------------------------------------------
----
Richard Gill
Director 3KB.COM LIMITED
Suite 2 Level 1, 10 Turner Street,
Po Box 74-307, Auckland, New Zealand
Tel: +64-9-379-7574 Fax: +64-9-379-7821
Mob: +64-21-709-071 Email: [EMAIL PROTECTED]
Web: www.3kb.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Ashish Adhiya
> Sent: Tuesday, 27 March 2001 1:05 a.m.
> To: [EMAIL PROTECTED]
> Subject: Getting an exception in doPost method
>
>
> Hi All,
>
> I have a servlet where the doGet routine displays an
> HTML page and further goes on to call the doPost
> routine. My HTML page displays well, but the doPost
> routine does not get called.
> I receive an IllegalStateException.
>
> Pleas help..
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html