infile.jsp代码如下:
<html>
<head><title>An Include Text</title></head>
<body bgcolor="white">
<%@ page buffer="8kb" autoFlush="true"%>
<%@ page import="java.util.*"%>
<%String temp=new String((new java.util.Date()).toLocaleString());%>
<jsp:include page="time.jsp" flush="true"/>
<jsp:param name="nowtime" value="<%=temp%>"/>
</jsp:include>
</body>
</html>time.jsp代码如下:
<html>
<head>
<title>An Include Text</title></head>
<body bgcolor="white">
<%
String time=new String();
time=request.getParameter("nowtime");
%>
<div align="center"><br>
<font color="blue" size="+5"><b>
现在的时刻为:
<%=time%>
</b></font>
</div>
</body>
</html>
为什么infile.jsp运行后会出错??