当前位置: 技术问答>java相关
jsp页面间如何传递表单元素,如checkbok。。。
来源: 互联网 发布时间:2015-05-25
本文导语: jsp页面间如何传递表单元素,如checkbok,select,到下一个页面,可以读出它们的value,checked,option[i]等等,能不能实现? | 一个例子 Drums of Passion / Babatunde Olatunji / Nigeria / $16.95 Kaira / Tounami Diabate/ Mali / $16...
jsp页面间如何传递表单元素,如checkbok,select,到下一个页面,可以读出它们的value,checked,option[i]等等,能不能实现?
|
一个例子
Drums of Passion / Babatunde Olatunji / Nigeria / $16.95
Kaira / Tounami Diabate/ Mali / $16.95
The Lion is Loose / Eliades Ochoa / Cuba / $13.95
Dance the Devil Away / Outback / Australia / $14.95
Record of Changes / Samulnori / Korea / $12.95
Djelika / Tounami Diabate / Mali / $14.95
Rapture / Nusrat Fateh Ali Khan / Pakistan / $12.95
Cesaria Evora / Cesaria Evora / Cape Verde / $16.95
Ibuki / Kodo / Japan / $13.95 -->
Quantity:
aa.jsp
就得到了客户端的选项: 比如: "Ibuki / Kodo / Japan / $13.95", 然后可以通过 StringTokenizer 取得具体的项目.
Drums of Passion / Babatunde Olatunji / Nigeria / $16.95
Kaira / Tounami Diabate/ Mali / $16.95
The Lion is Loose / Eliades Ochoa / Cuba / $13.95
Dance the Devil Away / Outback / Australia / $14.95
Record of Changes / Samulnori / Korea / $12.95
Djelika / Tounami Diabate / Mali / $14.95
Rapture / Nusrat Fateh Ali Khan / Pakistan / $12.95
Cesaria Evora / Cesaria Evora / Cape Verde / $16.95
Ibuki / Kodo / Japan / $13.95 -->
Quantity:
aa.jsp
就得到了客户端的选项: 比如: "Ibuki / Kodo / Japan / $13.95", 然后可以通过 StringTokenizer 取得具体的项目.