posts - 1,  comments - 0,  trackbacks - 0
//取得from表单中有name属性的值
Enumeration pNames=request.getParameterNames();

while(pNames.hasMoreElements()){
    String name
=(String)pNames.nextElement();
         String value
=request.getParameter(name);
      
// 如果存在map集合将其放入其中
// map.put(name, value);
}
posted on 2011-05-06 13:54 lpinjava 阅读(176) 评论(0)  编辑  收藏 所属分类: 学习文章

<2026年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

留言簿

随笔档案(1)

文章分类(6)

文章档案(6)

相册

收藏夹(1)

搜索

  •  

最新评论