Why do not you serve these pages directly doing doGet/doPost?
Simply read the .html file (through a buffered reader OC) and
push it into the response.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Gopalankutty,
Ravi Kumar (CTS)
Sent: Friday, February 04, 2000 9:17 AM
To: [EMAIL PROTECTED]
Subject: Serving secure pages...
Importance: High


Hi list,
I have written a servlet (with help from Jason Hunter's Servlet Programming
book of course :) that does a validation of the user once he logins in (say
from page1.html). Now my question is whether all subsequent pages are to be
coded into the servlet code itself (using out.println("<html>.....</html>")
or can I have them as html pages (say a.html,b.html etc...) and then use the
redirection property from the servlet.
If it's the second case (i.e., redirection) then the user can always see the
url of the page and then at a later login bypass the login mechanism.
Thanks k Regards
Ravi Kumar Gopalankutty
Cognizant Technology Solutions,
Ph: 044-2354281 Extn:4423
e-mail: [EMAIL PROTECTED]
_______________________________________________________________

___________________________________________________________________________
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

Reply via email to