这样写怎么错了?
Enumeration<String> attrNames=session.getAttributeNames();
while(attrNames.hasMoreElements()){
String thisName=attrNames.nextElement().toString();
System.out.println(thisName+" ");
}
Enumeration<String> attrNames=session.getAttributeNames();
while(attrNames.hasMoreElements()){
String thisName=attrNames.nextElement().toString();
System.out.println(thisName+" ");
}
2016-10-27
举报