急急 !Action[/goodsType] does not contain specified method (check logs)
现在说找不到这个action 可是我配置都有这是什么问题啊,希望大家帮我看看
配置如下:struts-config.xml
<!-- 商品类别信息 -->
<action
attribute="goodsTypeForm"
name="goodsTypeForm"
parameter="operate"
path="/goodsType"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="category" path="/category.jsp" />
</action>
jsp
<!-- 蔬菜水果 -->
<logic:notPresent name="goodsXTypeList1" scope="request">
<jsp:forward page="goodsType.do?operate=doFindGoodTypeAll?id1=1"></jsp:forward>
</logic:notPresent>
action我就不放出来,因为根本没有走action 我在action方法第一句就有是个输出
异常
严重: Servlet.service() for servlet action threw exception
java.lang.NoSuchMethodException: Action[/goodsType] does not contain specified method (check logs)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:264)。。。