Enumeration遍历
来源:互联网 发布:手机财经软件 编辑:程序博客网 时间:2024/06/08 03:53
<%@page import="java.util.*" %>
<%
Enumeration<String> paraNames = session.getAttributeNames();
for(Enumeration e=paraNames;e.hasMoreElements();){
String thisName=e.nextElement().toString();
String thisValue=request.getParameter(thisName);
System.out.println(thisName+"--------------"+thisValue);
}
Enumeration<String> paraNames2 = request.getAttributeNames();
for(Enumeration e=paraNames2;e.hasMoreElements();){
String thisName=e.nextElement().toString();
String thisValue=request.getParameter(thisName);
System.out.println(thisName+"--------------"+thisValue);
}
<%
Enumeration<String> paraNames = session.getAttributeNames();
for(Enumeration e=paraNames;e.hasMoreElements();){
String thisName=e.nextElement().toString();
String thisValue=request.getParameter(thisName);
System.out.println(thisName+"--------------"+thisValue);
}
Enumeration<String> paraNames2 = request.getAttributeNames();
for(Enumeration e=paraNames2;e.hasMoreElements();){
String thisName=e.nextElement().toString();
String thisValue=request.getParameter(thisName);
System.out.println(thisName+"--------------"+thisValue);
}
%>
while
(enums.hasMoreElements());
{
String v=(String)enums.nextElement();
System.out.println(v);
}
0 0
- Enumeration遍历
- Enumeration遍历
- enumeration遍历request
- Enumeration遍历Vector
- Enumeration遍历Vector集合
- Enumeration和Iterator 遍历Hashtable
- Enumeration和Iterator遍历集合类
- 使用Enumeration和Iterator遍历集合类
- Enumeration
- Enumeration
- enumeration
- Enumeration
- Enumeration
- Enumeration
- Enumeration
- Enumeration
- Enumeration
- Enumeration
- C++ 字符集转换留着用
- 11235 - Frequent values (RMQ)
- Scala集合一些操作
- 恢复默认设置对语音控制选项无效
- 最长递增子序列
- Enumeration遍历
- Spark 1.1.0 Basic Statistics(下)
- java学习笔记之容器的同步与只读控制
- Highcharts数据列(Series)
- linux shell 自定义函数(定义、返回值、变量作用域)介绍
- 洛谷1290 欧几里德的游戏
- 不重叠模式串个数 KMP hdu 2087 剪花布条
- Unity3D:spine使用
- 初等数论四大定理(威尔逊定理,欧拉定理,中国剩余定理,费马小定理)