Hi All,
I am thankful all of you who responded to my previous e-mails. I know many of you are
servlet gurus. My question is:
Question1:
==================
I am using a login.html (includes java script) that accepts user_id and password from
user. This login.html calls a servlet (using <FORM method=post
action="/servlet/Login">) in order to validate user_id/password against database. If
INVALID userid, then I want to display the same login.html directly. I tried using <a
href="/html/Login.html">Invalid User Id</a>. But this method is inefficient because
the User has to click on this link.
Question:2
==================
If valid userid, then I call another servlet "Menu" which has all the menu items.
Let's say "Employee Search" link ("/servlet/EmployeeSearch").
When the user clicks on this link, "EmployeeSearch" servlet is called.
if the session was timedout, then redirect to Login.html servlet.
How can I do this? Please reply.
Thanks in advance.
Louis Mechery
___________________________________________________________________________
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