hi,
if you enter nothing, ur servlet uses the values you entrered before?
i guess u do the following:

public ServletClass extends ... {
    String pass, id;

     public void init(...)...{}

     public void service(...)...{
        pass=...;
        id=...;

        //process pass & id
    }
}

try:
...
service(...)...{
    String pass,id;
    pass=...;
    id=...;

//process pass & id
}
...

if this isn't the case, pls send ur code.

-mw


----- Original Message -----
From: "Revathy Ravi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 10:03 PM
Subject: clarification on servlet


> Hello,
>
> I am sending userid and password from html page to a
> servlet and getting values from the bankend.  I am
> also checking in the servlet whether these values are
> null ornot.  But next time if i dont send the password
> also it is taking the values (may be from cache) and
> displaying again with values.  Please tell me what is
> he reason.
>
> thankx.
> revathy
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>
>
___________________________________________________________________________
> 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