JSP入门教程 下载本文

request.getParameterValues(paramName); if (paramValues.length == 1) {

String paramValue = paramValues[0]; if (paramValue.length() == 0) out.println(\ else

out.println(paramValue); } else {

out.println(\

for(int i=0; i

out.println(\ } }

out.println(\ }

public void doPost(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException { doGet(request, response); } }