Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i send a Serializable object from applet to a servlet?

 
sreekanth goud
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am trying to send a Serializable object to servlet. But i am getting the floowing exception


My server port number is 6666.

Here i is my applet code,


Can any one help to send Serializable object to servlet?
If possible, please give me code.

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which URL are you using to access the applet? It must be something like "http://localhost:.../...", or the applet won't be allowed to access the server due to sandbox restrictions.

The problem has nothing to do with serialization.
 
sreekanth goud
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using http://localhost:6666/cap/MyIcon.html to load my applet.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic