Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets to Server Communication with Objects

 
jyothi ve
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to learn how to get Objects from JApplet and send to web page(.jsp).

I also would like to learn how to send Objects(like arraylist) from a web page(.jsp) into JApplet.

I have to display data in Tabular form using JTable within Applet.. And also once user modifies the data on the table need to send updated data to the server to store in the database.

Any examples would be appriciated.

Please help

Thanks
 
ch praveen
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello jyothi ve,
It seems your question is related to applet-servlet communication. From an applet you can send objects to a servlet and viceversa. You can find explanation on this topic at::

http://pub.spccatv.com.cn/~rison/servlet/ch10_01.htm

You can find coding for HttpMessage.java at http://pub.spccatv.com.cn/~rison/servlet/ch10_02.htm. You can use, HttpMessage' as a basis for applet-servlet comunication. For more details. follow the examples listed in the above link. Wish you best of luck.

Regards,
Ch.Praveen Kumar.
 
jyothi ve
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Praveen for the info
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic