This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes from a applet how can i call a servlet?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "from a applet how can i call a servlet??" Watch "from a applet how can i call a servlet??" New topic
Author

from a applet how can i call a servlet??

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
from a applet how cani call a servlet??and how is the communication is done between an applet and a servlet??
how can i call a applet from a java script??
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
using sockets, u can communicate with the Servlet.
Jason Hunter's book Java Servlets has a really Exhaustive material on Applet Servlet Communication...

Of course u might have to roll u'r own Protocol to really do somehthing usefull once u'r applet starts communicating with the Servlet.
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

You can also use URLConnection if servlet is so designed and deployed. Since applet and servlet both speak Java, perhaps you can communicate in terms of Java objects.
HTH,
- Manish
marko stone
Greenhorn

Joined: Oct 16, 2002
Posts: 23
i used URLConnection
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: from a applet how can i call a servlet??
 
Similar Threads
Communication between two applets
Communication between servlet and applet
where to store the applet file using JWS in servlet technology?
Writing Image from Applet
calling servlets