wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Consider Paul's rocket mass heater.
 
subject: Applet and Servlet not talking to each other
 
Similar Threads
Applet to servlet communication-- Urgent
Applet-Servlet communication EOFException
ConnectException Connection Refused
Applet and servlet communication problem
Http Tunneling