see, that's where the concept of session-tracking comes into play! check
out
JASON HUNTER's (O'REILLY) JAVA SERVLET PROGARMMING book or any other soruce
for sesion tracking. it deals with such problems.

coming to ur prob, no need to authenticate again in ur second html, instead
u keep some flag type of variable and store in some memory-place which has
session scope and check out that variable while accessing the second page
instead, inorder to deter the intruders!

luv
ks

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 12:29 PM
To: [EMAIL PROTECTED]
Subject: howto use servlet to generate another html page




i have written a servlet that display a simple html page. on this html
page,
i would like to use a button, such that when clicked, the servlet will
display another html page.

how do i do that? do i use post or get request?
assume that in the first html page, my servlet has already authenticated
the
user credentials using post request before displaying the first html page.
so for the next html page, do i need to program the servlet to authenticate
again before displaying another html page?

___________________________________________________________________________
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

Reply via email to