Skip to main content

All Questions

5 votes
2 answers
4k views

jetty websockets send binary data (image)

I am trying to use Jetty 8.1.2 WebSockets to send some binary data (an image) to a javascript client. websockets java code: BufferedImage image = getTheImage(); ByteArrayOutputStream baos = new ...
Alina Danila's user avatar
  • 1,683
1 vote
2 answers
994 views

Passing binary data from Javascript into a Java applet via LiveConnect

I'm working on an application with a javascript front end that can receive a bunch of octets from the server (for the time being I'm using php's chr() to simulate some data). Trying to pass the data ...
cmjreyes's user avatar
  • 256
1 vote
3 answers
2k views

captcha image coming back a binary data? How to display this?

I am retrieving a captcha image from the Java based package "SimpleCaptcha" On the front end I just put the following in my page and I get a captcha image: <img src="stickyImg" /> I want to ...
Lothar's user avatar
  • 3,509