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
i did such a project as well. I chose a solution, which I think is
pretty fast, but not very beautiful. I just read my HTML Files in an
String Array, where each line is a new field. I sent those files trough
an OutputStream with MimeType "TEXT/HTML" to the browser. The advantage
of this is, that I can parse my HTML File easily. The Shop is idependet
of the design, because it is all made just in the HTML File, nothing is
coded in the servlet.
If you have any more questions, just mail me.
See you
Matthias
___________________________________________________________________________
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