This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using AJAX with applets

 
Mahesh KumarKing
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to return a byte[] from the applet to a javascript object?
When i return a string (eg. : (new String(myByteArray))) from the applet, my implementation works fine, but my requirement is to transmit a byte[].
Is it possible?

Regards,
Mahesh.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, transferring arrays should work. Did you try it?
[ June 25, 2007: Message edited by: Ulf Dittmer ]
 
Mahesh KumarKing
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I tried returning a byte[]. But the javascript variable holding the return value from the applet value is empty, i.e. to say the byte[] return value could not obtained in a javascipt variable/object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic