Can you post once again a full stack and related configuration?
Because in you first mail there is no action defined as "categories"
but "productcategories"

2017-12-10 15:36 GMT+01:00 Dave Weis <djw...@sjdjweis.com>:
> Correct, I want 'categories' to be the correct action name. I made a
> duplicate with a different name but the same class and results and it works
> fine. If I remove the first action I put in to test/reproduce this I still
> get the same error.
>
> I have my struts.xml cut down to the below and I still can't get to
> /commerce/categories successfully but /commerce/knobhead works fine at the
> same time.
>
> <package name="default" extends="struts-default" namespace="/">
>
> <result-types>
> <result-type name="tiles"
> class="org.apache.struts2.views.tiles.TilesResult" />
> </result-types>
>
> </package>
>
> <package name="commerce" extends="default" namespace="/commerce">
>
> <action name="knobhead"
> class="com.foo.actions.commerce.CategoriesAction">
> <result name="success" type="tiles">commerce.categories</result>
> </action>
>
> <action name="categories"
> class="com.foo.actions.commerce.CategoriesAction">
> <result name="success" type="tiles">commerce.categories</result>
> </action>
>
> </package>
>
>
>
>
>
> 2017-12-10 6:43 GMT-06:00 Yasser Zamani <yasserzam...@apache.org>:
>
>>
>>
>> On 12/9/2017 9:12 PM, Dave Weis wrote:
>> > <action name="productcategories"
>>
>> But it's name has `product` as prefix here.
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to