Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet to Servlet Communication (only two ways?)  RSS feed

 
Ramiro Veramendi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the examples that I've seen about Applet to servlet communication is in two ways, I mean it always has to be from the applet to the servlet and from the servlet to the applet.

My problem is that in my project I have to send some data to the Servlet and then the Servlet has to take the controll of everything, it isn't has to return to the applet, instead the Servlet has to make a mapping.findforward to another action....

If what I want to do is possible, please give some ideas about this....
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ramiro Veramendi:
All the examples that I've seen about Applet to servlet communication is in two ways


That is because the HTTP protocol is a request followed by a response. Either make up your own "POST only" protocol and write your own server or have your servlet return a token message.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!