我想问一下`为什么我把index.jsp文件放进了我的网页文件夹里面`
通过ie打开个这个文件的时候为什么报下面的错`。
HTTP Status 404 - /index.jsp--------------------------------------------------------------------------------type Status reportmessage /index.jspdescription The requested resource (/index.jsp) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.12
怎么解决这个问题``
通过ie打开个这个文件的时候为什么报下面的错`。
HTTP Status 404 - /index.jsp--------------------------------------------------------------------------------type Status reportmessage /index.jspdescription The requested resource (/index.jsp) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.12
怎么解决这个问题``
第二个,jsp文件大小写的问题,看写的是否正确。
如果是那个地方错误`
我应该怎么配置呢???
另外看一下路径有没有问题
不信的话你把这个文件放在webroot下面肯定可以
<html>
<head>
<title>includeExample</title>
</head>
<body bgcolor="#ffffff">
<table width="100%">
<tr>
<td height="10" align="center">
<!--注意!这里就是要导入的index.jsp-->
<%@include file="index.jsp"%>
</td>
</tr>
<tr>
<td height="500" align="center">这是你的 Main.jsp</td>
</tr>
</table>
</body>
</html>试试看吧 ^^
或者是jsp文件名称大小写没有区分