【发布时间】:2015-09-15 10:12:15
【问题描述】:
我是 eclipse 的新手,在开始新的 webapp 时遇到了困难。 index.jsp 不显示。
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>PizzaOrderApp</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
我已经尝试过http://localhost:8080/PizzaOrderApp/index.jsp 和http://localhost:8080/PizzaOrderApp/jsp/index.jsp
remove-readd tomcat 服务器后:
【问题讨论】:
标签: eclipse tomcat web-applications welcome-file