<%@ page contentType=\"text/html;charset=GB2312\" %>
<%@ page import=\"java.util.*\" %>
请任意输入两个数:
<%
int first =0;
int second =0;
if(request.getParameter(\"first\")!=null&&request.getParameter(\"first\").length()>0)
{
first = Integer.parseInt(request.getParameter(\"first\"));
}
if(request.getParameter(\"second\")!=null&&request.getParameter(\"second\").length()>0)
{
second = Integer.parseInt(request.getParameter(\"second\"));
}
%>
<%=first+second%>
因篇幅问题不能全部显示,请点此查看更多更全内容