c5 URLs and URIs - Communicating with Server-Side Programs Through GET
来源:互联网 发布:汽车提档网络档案 编辑:程序博客网 时间:2024/05/12 16:15
使用post方法,需要URLConnection类。
<form name="search" action="http://www.google.com/search" method="get"> <input name="q" /> <input type="hidden" value="cafeconleche.org" name="domains" /> <input type="hidden" name="sitesearch" value="cafeconleche.org" /> <input type="hidden" name="sitesearch2" value="cafeconleche.org" /> <br /> <input type="image" height="22" width="55" src="images/search_blue.gif" alt="search" border="0" name="search-image" /></form>
form element action表示表单要提交的地址,method表示方法,get或者post。
input element中name和value是重要的。
submit 类型的input只是说明什么时候提交,但并没有要提交的数据(数据在其他input里)。
Get方式和server-side program 交互很简单,拼装URL query string,接受server-side返回就可以了!
0 0
- c5 URLs and URIs - Communicating with Server-Side Programs Through GET
- c5 URLs and URIs - URIs
- c5 URLs and URIs - Proxy
- c5 URLs and URIs - The URL class
- c5 URLs and URIs - The URI Class
- c5 URLs and URIs - x-www-form-urlencoded
- c5 URLs and URIs - Accessing Password-Protected Sites
- IRIs, URIs and URLs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs
- URIs, URLs, and URNs区别
- 10.URIs, URLs, and URNs
- URIs, URLs, and URNs 三者区别
- android assets中.9.png的使用
- 有感于一个老工程师的十大忠告,贴一个小故事
- 判断程序实例是否已经运行的N种方法
- QT编译MySQL驱动
- iOS 平台获取当前的国家/语言设置
- c5 URLs and URIs - Communicating with Server-Side Programs Through GET
- squeeze_ch
- as3学习笔记5:动态设置TextField的样式
- leetcode-Longest Common Prefix
- 非Activity类引用getResources()方法问题的解决方法
- 错误:Only the original thread that created a view hierarchy can touch its views——Handler的深入解析
- Servlet的线程安全问题
- 多线程出问题了
- 获取时间及时间修改