<%Stringname=request.getParameter("userName");Stringpas3、sword=request.getParameter("passWord");if(name!=null&&password!=null){response.sendRedirect("reg.jsp");}else{out.println("请输入用户名和密码");}%>reg.jsp
<%Stringname=request.getParameter("userName");Stringpassword=request.getParameter("passWord");if(nam4、e=="aaa"&&password=="aaa"){out.println("注册成功"+name+password);}else{response.sendRedirect("index.jsp");}%>分析下面的代码,写出include.jsp的运行结果。(10分)include.jsp代码:<%@pagecontentType="text/html;charset=GBK"%>这里是显示结果:
<%@includefile="ab
5、c.html"%>
<%@includefile="mytxt.txt"%>
<%@includefile="mycode.cod"%>