Hugo Malheiro wrote:
>
> However, sending data from the applet to the servlet it's more
> dificult because it never enters in the doPost method of the
> servlet.
>

 You might try:

 1) In your POST code, do a servletConnection.getInputStream() and
    drain it. Yeah, I know, you're not writing anything back to
    the client, but give it a try anyway, see what happens.

 2) Instead of writing a record to the database in doPost(), you
    might try just writing something to System.out. I don't
    think that's the problem, but it would mean one less thing
    to worry about.

 3) Or, even better, get rid of the under-specified and strangely
    implemented Sun URLConnection code, and use something like:

      http://www.innovation.ch/java/HTTPClient/


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to