• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet and ASP Communication

 
Prachi Gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been trying to write and read data from an ASP page for some time now without any success.

I need to send binary data to the ASP page and read binary data from it.

Here's my applet code:



I load this applet in an HTML page: main.html
The code for the HTML page is as follows:


The asp page is simple and just displays the data sent by the applet to it and sends some data back to the applet.

Can some one please point me in the right direction or post some example code?

Thankyou
PG
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the error message your are getting.
 
Prachi Gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I do not get any error message.
The java console shows RETURNED FROM WRITE
and nothing else.
The ASP does not get executed at all.
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP has two parts: a request and a response. If you do not read the response, you are not fulfilling your part of the protocol and the server is free to ignore the request.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic