|
There are some good books that cover applet-servlet communications. (Moss; Java Servlets, Hunter; Java Servlet Programming). There are probably also some examples out there on the internet. Its actually not very difficult at all once you have an example. Then you can have the servlet use JDBC to check the value against the database and return a status to the applet... the applet could open an HTML page or display the results itself. The applet basically does an HTML Post to the server with the request (you can serialize any object and put it in the stream) and then it gets a response back. There are other ways of course (RMI, etc.) but I find that this method is very effective. Luther ----- Original Message ----- From: Gibbons, Michael <bmis04@MARYWOOD1.MARYWOOD.EDU> To: <java400-l@midrange.com> Sent: Wednesday, 23 February 2000 18:19 Subject: FW: Applet/Servlet Examples > > > -----Original Message----- > From: Gibbons, Michael > Sent: Tuesday, February 22, 2000 10:46 AM > To: Midrange (E-mail) > Subject: Applet/Servlet Examples > > > > Hi Folks, > > Does anyone know where I could get code examples of applets to > servlets. I am looking for > an applet that will prompt for a cust# and then pass it off to a > servlet that will verify > the prompted value and display and error or then if it is valid than > display a page with the cust info on it. > > THANKS in ADVANCE! > > Michael P. Gibbons > MARYWOOD UNIVERSITY > 2300 Adams Ave. > Scranton, PA 18509 > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: joe@zappie.net > +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.