🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12356

Re: �ʣ�java.net.HttpURLConnection

#12356
From: һ�ж�������
Date: Fri, 30 Jul 2004 04:16
19 lines
1692 bytes
����value���溬��&���ַ��ʱ�򣬾ͻ������

�� �� kirby.bbs@bbs.nankai.edu.cn (ϲ�������ˣ��Dz��DZ����ˣ� �Ĵ������ᵽ: ��
: �Ѿ��㶨�ˣ�����
: �廪�и���˵�����URLEncoder
: Ϊɶ��
: �� �� xeon (98CS~��è~�����Կ�����) �Ĵ������ᵽ: ��
: : ��������,��������Ϊpost
: : HttpURLConnection connection = (HttpURLConnection) url.openConnection();
: : connection.setRequestMethod("POST");
: : connection.setDoOutput(true);
: : Ȼ����ǰѲ�������ȥ,��ʽ����:
: : String para = "par1name=" + par1value + "&par2name=" + par2value ...
: .................������ʡ�ԣ�

--
��һ�����Ѿ�
ϰ�������ܹ¶�����
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 218.80.135.204]
Technical Details
Message-ID: <4DQQ8I$AGM@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,2822b52fff91e2d2,start
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!ctu-peer!news.nctu.edu.tw!netnews.csie.nctu.edu.tw!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU
From: wshWaWa.bbs@bbs.sjtu.edu.cn (һ�ж�������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: �ʣ�java.net.HttpURLConnection
Date: 30 Jul 2004 04:16:40 GMT
Organization: ��ˮ˼Դ
Message-ID: <4DQQ8I$AGM@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1091160978.A