Hi Chitra,

Well I don't know anything about Java Script. Can you give me a sample code
to do this? Also, would the Java Script work in both IE and Netscape?

Let me know.

Satish
PS. Hi Cott Lang. I don't use Outlook !!

At 09:23 AM 2/24/99 -0500, you wrote:
>Hi Satish
>
> Let me understand what you are trying to do :  you are using html to get the
>user to input the user-id and password and if it is incorrect you send a page
>which says that the user-id and password is incorrect and you want to reload
>the page on which the user had entered the user-id and password right.
>
>If this is the case why not use Javascript's back() function which will keep
>form values intact.
>
>Chitra
>
>Satish Talim wrote:
>
>> Hi Shashi,
>>
>> Can't I achieve this without using Applets? Just HTML and Servlets. Any
>> sample code to help me out?
>>
>> Satish
>>
>> At 10:17 AM 2/24/99 +0530, you wrote:
>> >Basically you want the data which is being entered by the Customer to be
>> >persistant. Since applet by itself can't keep all the data persistant,
>> >the easiest method is to keep track of it in the Servlet running at the
>> >server. Another easy method is let the Applet start communicating with
>> >the Servlet, and also show the status of User Name verification. So,
>> >steps will be
>> >1. Applet will send data about the Login customer to Servlet
>> >2. Servlet will verify the customer.
>> >3. If there is an error, Sevlet will send back some data to Applet,
>> >saying the User name is invalid.
>> >4. The applet will display the same information.
>> >5. So there is no need for you display a page just show that user has to
>> >typed wrong info.
>> >
>> >I hope this will help you...
>> >
>> >> -----Original Message-----
>> >> From: Satish Talim [SMTP:[EMAIL PROTECTED]]
>> >> Sent: Tuesday, February 23, 1999 8:20 PM
>> >> To:   [EMAIL PROTECTED]
>> >> Subject:      Store info in Servlet
>> >>
>> >> Hello all,
>> >>
>> >> I have a simple application where a Customer enters his/hers Customer
>> >> details and a UserName and Password on a Customer web page. This
>> >> information is passed on to the servlet which checks the
>> >> UserName/Password
>> >> combination in a customer table using jdbc. In case the combination
>> >> does
>> >> not match, the servlet creates a web page informing that the
>> >> UserName/Password is incorrect. After a specified time, the Customer
>> >> web
>> >> page should reload with the values the Customer had keyed in.
>> >>
>> >> I am not sure as to how to restore/save the values the Customer had
>> >> keyed
>> >> in on the Customer web page.
>> >>
>> >> I am using Java Web Server 1.1.3 and JSDK 2.0 with Java 2 on a Windows
>> >> 95
>> >> machine.
>> >>
>> >> All help most appreciated.
>> >>
>> >> Thanks,
>> >>
>> >> Satish
>>
>> ___________________________________________________________________________
>> 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