Jian,
Can you tell us why you need to return a page directly from the init
method? You could just set a flag in one of your service methods that
causes it to return the proper page after the init method is first called.
Regards,
Richard
At 09:32 AM 7/20/01 -0400, you wrote:
>Hi
>
>Can any body share with how to send a html page to the browser with in the
>init() method in a servlet?
>
>Thanks.
>
>Jian
>
>___________________________________________________________________________
>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