You may want to use encode to make sure the content is translatable into
x-www-form-urlencoded format.

Steve
-----Original Message-----
From: Steve Nguyen <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Date: Saturday, May 15, 1999 12:31 AM
Subject: Re: How to POST from a Java Applet


>As usual though:
>
>URL url = new URL(<servlet url>?<var name>=<value>...<var name>=<value>);
>InputStream is = url.openStream();
>....
>
>At servlet, use service() to catch the call.
>
>Steve Nguyen
>[EMAIL PROTECTED]
>Professional in Mail & Java(tm) for ISPs
>KBMail Professional Software & Service Provider
>http://www.kbmail.com
>
>-----Original Message-----
>From: Graeme Wallace <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
><[EMAIL PROTECTED]>
>Date: Saturday, May 15, 1999 12:26 AM
>Subject: How to POST from a Java Applet
>
>
>>Sorry if this question is obtuse.
>>
>>Does anyone have an example or doc on how to post to a servlet
>>from a Java application.
>>
>>regards,
>>
>>Graeme Wallace
>>Technical Director
>>Interactive Network Technologies
>>2901 Wilcrest Drive, #100
>>Houston
>>Texas, 77042
>>
>>Tel: 1 713 975 7434
>>Fax: 1 713 975 1120
>>Email: [EMAIL PROTECTED]
>>WWW: http://www.int.com
>>
>>
>>----------------------------------------------------------------
>>To subscribe:        [EMAIL PROTECTED]
>>To unsubscribe:      [EMAIL PROTECTED]
>>READ THE FAQ!!!!     <http://java.apache.org/faq/>
>>Archives and Other:  <http://java.apache.org/main/mail.html/>
>>Problems?:           [EMAIL PROTECTED]
>>
>
>
>
>----------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>READ THE FAQ!!!!     <http://java.apache.org/faq/>
>Archives and Other:  <http://java.apache.org/main/mail.html/>
>Problems?:           [EMAIL PROTECTED]
>



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to