This Domain(Admin5.com) is for Sale:

六、访问CGI变量

时间:2007-10-22  来源:不详  作者:林子

"<TH>CGI Variable Name<TH>Value");
for(int i=0; i<variables.length; i ) {
String varName = variables[i][0];
String varValue = variables[i][1];
if (varValue == null)
varValue = "<I>Not specified</I>";
out.println("<TR><TD>" varName "<TD>" varValue);
}
out.println("</TABLE></BODY></HTML>");
}

public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
}
}

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息