我的目录结构如下:
tomcat的版本是5.5.30,运行tomcat后,在地址栏输入http://localhost:8080/UserManager/index.jsp
提示错误如下:
HTTP Status 404 - --------------------------------------------------------------------------------type Status reportmessage description The requested resource () is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.30index.sp中的代码如下:
<%@ include file="/WEB-INF/views/include.jsp"%><%-- Redirected because we can't set the welcome page to a virtual URL. --%>
<c:redirect url="/WEB-INF/views/login.jsp" />include.jsp代码如下:
<%@ taglib prefix="c" uri="/WEB-INF/taglibs/c.tld"%>
<%@ taglib prefix="spring" uri="/WEB-INF/taglibs/spring.tld"%>
<%@ page language="java" pageEncoding="GB2312"%>
请教高手指点一下!
tomcat的版本是5.5.30,运行tomcat后,在地址栏输入http://localhost:8080/UserManager/index.jsp
提示错误如下:
HTTP Status 404 - --------------------------------------------------------------------------------type Status reportmessage description The requested resource () is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.30index.sp中的代码如下:
<%@ include file="/WEB-INF/views/include.jsp"%><%-- Redirected because we can't set the welcome page to a virtual URL. --%>
<c:redirect url="/WEB-INF/views/login.jsp" />include.jsp代码如下:
<%@ taglib prefix="c" uri="/WEB-INF/taglibs/c.tld"%>
<%@ taglib prefix="spring" uri="/WEB-INF/taglibs/spring.tld"%>
<%@ page language="java" pageEncoding="GB2312"%>
请教高手指点一下!
如果是index.jsp中的内容请求不到的话,你这样做:你先把index.jsp中的代码全部删掉,然后再一句一句添加,看看是哪一句除了错,就知道了
如果启动没有问题的话。
那就先把index内容置空,看看能访问不