随便写一个JSP页面
在页面里面在转发到你要的Action
web.xml 里面添加
<welcome-file-list>
<welcome-file>xx.jsp </welcome-file>
</welcome-file-list>
jump.jsp里通过这段代码访问action':
<meta http-equiv='refresh' content='0;url=xxx.action'>
meta标签是位于body和title之间即可。
action是不能放在web.xml中,只能放在struts.xml中