Home > 我就是未分类 > 获取全部表单字段

获取全部表单字段

August 24th, 2005

Enumeration paramNames = request.getParameterNames();
String paramName=””;
while(paramNames.hasMoreElements())
{
paramName = change_cn.getstr((String)paramNames.nextElement());
out.print(paramName);
out.print(“<BR>”);
out.print(change_cn.getstr(request.getParameter(paramName)));
out.print(“<br>”);
}

我就是未分类

  1. No comments yet.
  1. No trackbacks yet.