首页> 中文期刊>湖北第二师范学院学报 >Java Web中的页面跳转

Java Web中的页面跳转

     

摘要

A Java Web program often contains page jump from one to another,so how to choose a jump method makes Java Web beginner confused.This paper summarizes some page jump methods in JSP/Servlet,Struts2,Spring,analyzes and compares request deliver and redirect,forward and include method of RequestDispatcher interface in detail,thus programmers need to choose the most suitable way to make page jump according to the actual when programming.%在Java Web编程中间经常出现需要从一个页面跳转到另外一个页面,如何选择跳转方式一直是Java Web编程初学者容易迷茫的地方。本文总结了JSP/Servlet、Struts2和Spring中的页面跳转方法,详细分析对比了请求转发和重定向、RequestDispatcher接口的forward和include方法,在实际编程过程中需要根据具体的场景选择最合适的方式进行跳转。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号