码迷,mamicode.com
首页 > Web开发 > 详细

jsp5 include forward param

时间:2016-05-04 18:53:18      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

技术分享技术分享
date.jsp
  1. <%@page import="java.text.SimpleDateFormat"%>
  2. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"%>
  3. <%
  4. Date d=new Date();
  5. SimpleDateFormat sdf=new SimpleDateFormat("yyyy年MM月dd日");
  6. String s=sdf.format(d);
  7. out.println(s);
  8. %>
Includecommand.jsp
  1. <body>
  2. <h1>Include指令</h1><hr>
  3. <%@include file="date.jsp" %>
  4. </body>

  5. 技术分享

    Include_Action.jsp
    <h1>Include动作</h1><hr>

    <jsp:include page="date.jsp"flush="false"

    技术分享
    技术分享技术分享技术分享




jsp5 include forward param

标签:

原文地址:http://www.cnblogs.com/liuruimiku/p/5459388.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!