Carlos - 
Sorry 'bout that.  You do need a HttpURLConnection to use
setRequestMethod.

--- Carlos R Armas <[EMAIL PROTECTED]> wrote:
> 
> Will give that a shot. Although it will require a minor modification.
> I remember
> that rather than using URLConnection, I should use HttpURLConnection
> (not sure,
> but I think the latter is derived from URLConnection).
> 
> armas
> 
> (*) Will not know the results til tomorrow... machine is at home!!
> 
> 
> 
> Wyn Easton wrote:
> > 
> > Try adding:
> > 
> >      uc.setRequestMethod("POST");
> > 
> > Before you get the output stream.
> > 
> > Also, a word of caution.  I have found that if the response from
> > the web server takes longer that the keep-alive timeout value set
> > for your web sever, your applet will not be notified (no exception
> > thrown).  I client will hang on the read "forever".  I've tried
> > looping on the available() method of InputStream but it always
> > returns 0 (zero) bytes and never throws an exception, even if the
> > web server has closed the connection.
> > 
> > Maybe some one has a suggestion that could help both of us???
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


=====
Wyn Easton
[EMAIL PROTECTED]

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

Reply via email to