You can. Use the session tracking feature. But the data has to be kept
in Servlet. I will try to get some info regarding this asap.
> -----Original Message-----
> From: Satish Talim [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 24, 1999 12:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Store info in Servlet
>
> 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