I would guess that you are not actually POSTing information.
Searching on jGuru just now I found a snippet of code (totally unrelated to
your problem) that does an example of POST.  Its at
http://www.jguru.com/jguru/faq/orphan_view.jsp?EID=141034.  Maybe this
example can help you to figure out what's not going quite right.  If you
still can't figure it out, you will need to post code for anyone to be able
to help you.

        Randy

-----Original Message-----
From: Carlos R Armas [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 4:28 PM
To: [EMAIL PROTECTED]
Subject: applet-servlet communication



I am trying to have an applet communicate with a servlet. I don't want
to use <form> so I can't set the method to GET/POST. I do want to restrict
the servelt to only use POST, not GET.

The HttpServletResponse/HttpServletRequest classes are being used to
exchange the messages. I have the applet "sending" the data... I believe
using the POST method. The servlet on the other hand, gets the initial
communication and session information.... but the actual data never
arrives and the method that the servlet claims to have used is GET. The
servlet communicates back to the applet with no problem.

Now, the question is: Is there some configuration needed so that when the
applet sends the information (to tomcat?) it can be passed on to the
servlet using the chosen -POST- delivery method?

The servlet works fine if I test it with a html file that has a form which
uses POST to send the data. So half the implementation is working.

Any help will be appreciated.

armas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to