这个问题发过,但沉底了,也没法弄上来了,可问题没解决,也是我有些地方没说清楚,现在整理一下,重发
web.xml配置:
<servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/do/*</url-pattern>
</servlet-mapping>struts-config.xml<global-forwards>
    <forward name="goIndex" path="/do/index"></forward>
</global-forwards>
<action-mappings>
<action path="/do/index" parameter="/WEB-INF/WebPages/index.jsp" type="org.apache.struts.actions.ForwardAction"></action>
</action-mappings>因为我的页面是放在WEB-INF下的,不能直接访问,所以我在WEB-INF文件夹外面有个页面,转到这个页来,就提示404错误!!
在WEB-INF文件夹外有个default.jsp,页面中有个跳转,是这样的
<logic:forward name="goIndex"/> 提示404错误,应该怎么解决,不知道我的做法是不是对,如果不对,应该怎么做???