use
<script>
location.href= /sevlet/login.html;
,/script>
it will work .

-----Original Message-----
From: Manu Tayal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 27, 1999 9:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Better way to call SERVLETS/html


Hi,
        You can use the REFREASH tag.


Regards,
Manu.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
#  Manu Tayal                   |      WIPRO INFOTECH
#
#                               |      30,Mission Road, 1st Main,
#
#  Software Engineer            |      S.R.Nagar,
#
#                               |      Bangalore-560027, India
#
#  Technology Solutions         |
#
#                               |      TEL: 080-2241730/2275590
#
#  WIPRO INFOTECH               |      EXT: 1532
#
#                               |   E-Mail: [EMAIL PROTECTED]
#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~

On Tue, 26 Oct 1999, Louis Mechery wrote:

> 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, the
n 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
>

________________________________________________________________________
___
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