首页 > TAG信息列表 > jsp1

jsp1

1.hello <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+req

jsp:include动作和include指令的区别,请举例?

4.jsp:include动作和<%@ include的区别:马克-to-win:include指令把被包含的文件揉进来一起编译。include动作不是。它是在请求时,将输出结果包含进来。例 4.4.1jsp2.jsp:<%! String name="mark-to-win"; %>jsp1.jsp:<html> <body>  <%@ include file="jsp2.jsp" %>  <%= na