Servlet & Jsp 项目搭建问题汇总

来源:互联网 发布:知图科技 编辑:程序博客网 时间:2024/06/06 05:20

三种跳转页面方法:

1.web.xml方法中跳转页面

2.<jsp:forward page="SelectArticleServlet"></jsp:forward>

3.<meta http-equiv="Refresh" content="[ 跳转之前在此页面停留秒数 ]; URL=[ 需要跳转到的地方 ]">


三种页面嵌套的方式

1.<jsp:include page="top.html"></jsp:forward>

<jsp:           >是jsp标准动作。

2.<%@  include file="top.html" %>

<%@       %>是jsp指令。

3.<iframe >   </iframe>

这个是html标签。

0 0
原创粉丝点击