request.sendRedirect( "filename.html");
"Wang, Jianming" wrote:
> HyperLink
>
> -----Original Message-----
> From: Krishnan Srinivasan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Howo to call a HTML Page from a Servlet ?
>
> Hi,
> I am working on an e-commerce project and I would like to know on how to
> call an html page from a servlet.
>
> eg.
> user logs in
> if valid
> go to usermenu.html
> else
> go to invalidlogin.html
> end
>
> is it res.sendRedirect(pathname/file.html)?
>
> And where do I keep the html files ?
>
> Thanks in Advance
> Krishnan Srinivasan
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.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
___________________________________________________________________________
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