Eclipse Jetty插件使用问题

IMJiang 2010-09-26 11:46:14
我在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>

也不行

求解
...全文
216 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
JerryZhou_ 2012-02-22
  • 打赏
  • 举报
回复
请问你的jetty版本是多少?
IMJiang 2010-09-26
  • 打赏
  • 举报
回复
来个人吧

58,453

社区成员

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

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