• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

from a applet how can i call a servlet??

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i used URLConnection
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic