request获取网页单选框的值
来源:互联网 发布:sopcast网络电视下载 编辑:程序博客网 时间:2024/05/18 03:10
<
form
action
=
"servlets/LoginServlet"
method
=
"post"
name
=
"login"
onclick
=
"return check(this);"
>
<
table
>
<
tr
>
<
td
>用户名:</
td
>
<
td
><
input
name
=
"userid"
type
=
"text"
size
=
"15"
></
td
>
</
tr
>
<
tr
>
<
td
>密码:</
td
>
<
td
><
input
name
=
"password"
type
=
"password"
size
=
"15"
></
td
>
</
tr
>
<
tr
>
<
td
="2"><
input
type
=
"radio"
name
=
"status"
value
=
"1"
checked
=
"checked"
/>学生 <
input
type
=
"radio"
name
=
"status"
value
=
"2"
/>老师</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"2"
><
input
type
=
"submit"
value
=
"确定"
></
td
>
</
tr
>
</
table
>
</
form
>
用request获取status的值从是什么啊,假设选择第一项
1
request.getParameter(
"status"
)
答案是"1"。
0 0
- request获取网页单选框的值
- JS获取request的值
- JS获取request的值
- 获取 request 请求的值
- JS获取request的值
- Request[string key] 直接获取网页控件中的值
- s标签没法获取request的值
- request.getParameterMap() 获取页面表单的值
- 获取Request中Cookie的值
- 获取?传的值 request.getparameter(“”);
- Struts2获取request的
- 解析网页的request header
- 获取网页上的值
- Struts2获取request的方法
- request 获取请求的正文
- Request获取URL的方法
- 关于request.getRemoteAddr()获取的值的问题?
- Ext.Ajax.request的请求完毕,获取返回值
- 获取ASPxGridView 中的数据
- 反转链表
- HDOJ 4920 Matrix multiplication (矩阵相乘)
- Fragment的展现与Activity状态丢失 IllegalStateException:Can not perform this action after onSaveInstanceState
- hdoj Intersection 5120 (数学计算几何) 求两个相交圆的面积
- request获取网页单选框的值
- hdu 1257 最少拦截系统
- poj 2674
- Java初始入门(二)
- 开发者,速度远比你以为的重要
- 2015 CCPC D题
- 操作符重载
- CAN通讯总结2
- 今日学习札记——C语言指针与程序风格(11.6)