Thanks Anupama.
Yes, You got my question. I tried it. it worked.
Thanks a lot.
--
MG
> -----Original Message-----
> From: ANUPAMA PONNAPALLI [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, February 26, 1999 9:07 PM
> To: [EMAIL PROTECTED]
> Subject: posting html page -Reply
>
> Hi,
> yes, its possible, if what you mean to say is that you want the
> servlet
> to "show" an existing static html page.. just use the sendRedirect method
> provided in the HttpServletResponse class.. i have pasted the relevant
> part of the api here for you...
>
> public abstract void sendRedirect(String location) throws
> IOException
>
> Sends a temporary redirect response to the client using the specified
> redirect location URL. The URL must be absolute (for example,
> https://hostname/path/file.html). Relative URLs are not permitted here.
>
> Parameters: location - the redirect location URL Throws: IOException
> If an I/O error has occurred.
> hope that will be of help... bye...
> Anupama
>
> __________________________________________________________________________
> _
> 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