File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Applet and Servlet not talking to each other Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Applet and Servlet not talking to each other" Watch "Applet and Servlet not talking to each other" New topic
Author

Applet and Servlet not talking to each other

Rekha Pande
Ranch Hand

Joined: Jan 29, 2004
Posts: 145
Hi all,
I have this applet that needs on load some info from Database. So im getting the parameter in applet - passing it to servlet - then query from DB and then back to servlet and then to applet, to display information in applet. But for some reason my applet and servlet are not communicating...can some one please have a look at my code and tell me where am i going wrong..!!

This is in the get method of the servlet


This is in the init method of my applet


Please can some help me on it...! Thanxs in advance.
Rekha Pande
Ranch Hand

Joined: Jan 29, 2004
Posts: 145
It's working now...
I found this nice tutorial on this link....
http://www.j-nine.com/pubs/applet2servlet/index.htm .....
Download the zip file. It has a nice big example in it..!

Thanxs any ways to all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet and Servlet not talking to each other