Eclipse Jetty插件问题

IMJiang 2010-09-26 10:22:28
我在Eclipse中装了个Jetty插件
地址是:http://run-jetty-run.googlecode.com/svn/trunk/updatesite/

然后进行了配置后访问
直接访问项目根目录:http://localhost:8080/BookTestSSH/
报错:
Struts Problem Report
Struts has detected an unhandled exception:

Messages: There is no Action mapped for namespace / and action name .

直接访问地址http://localhost:8080/BookTestSSH/index.jsp可以

web.xml中配置了

<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>


换成

...
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

也不行

求解
...全文
630 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧