实验3网页的跳转一、实验目的:1、理解掌握JSP指令标签page和include的特点与应用。2、掌握JSP动态标签的作用及其应用方法。3、理解指令标签与动作标签的区别。二、实验内容:,,,,。三、参考程序:<formaction=""method="post"name="form"><inputtype="text"name="name"><inputtype="text"name="Email"><inputtype="submit"value="Enter"></form><%***@pagecontentType="text/html;charset=GB2312"%><html><body><fontsize="4"><center><P><%--应用指令标签include提交数据--%><%***@includefile=""%><%Strings1=("name");Strings2=("Email");s1=newString(("ISO-8859-1"));%><P>提交姓名是<%=s1%><p>提交邮箱是<%=s2%><%--应用动作标签include获取并显示提交数据--%><jsp:includepage=""><jsp:paramname="name1"value="<%=s1%>"/><jsp:paramname="Email1"value="<%=s2%>"/></jsp:include><P></center></font></body></html
实验 网页的跳转 来自淘豆网m.daumloan.com转载请标明出处.