新手请教:为什么这个文件不能命名为index.jsp?“ ... is not available”
L-ma 2003-08-22 04:38:20 开发环境jdk1.4.2+apache2.0.47+tomcat5.0.3+mod_jk2.0.46
这是我的关于用户注册的源代码:(e:\myjsp\index.jsp)
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>请您注册</title>
</head>
<body>
<jsp:include page="patch/head.htm"/>
<jsp:include page="log.jsp" flush="true"/>
<jsp:include page="patch/bottom.htm"/>
</body>
</html>
为什么这个文件取其他的名字都可以正常显示,单单取名为index.jsp总报错:
HTTP Status 404 - Servlet org.apache.jsp.index_jsp is not available
--------------------------------------------------------------------------------
type Status report
message Servlet org.apache.jsp.index_jsp is not available
description The requested resource (Servlet org.apache.jsp.index_jsp is not available) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.4