On Tue, Feb 18, 2014 at 10:55 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2014-02-19 6:21 GMT+01:00 Tommy Pham <tommy...@gmail.com>:
> > package local.workgroup.tutorial.struts2.actions;
>
> You are mixing the same locators and Struts doesn't know how to handle
> this. I mean it knows but it will create additional namespace
> /actions. Below you have default locators, change them just to
> action,actions
>
> struts.convention.package.locators = action,actions,struts,struts2
>
> http://struts.apache.org/release/2.3.x/docs/convention-plugin.html
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
>
Hi Łukasz,

Thanks for the reply.  Modifying the web.xml to:

<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
<init-param>
<param-name>struts.devMode</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>struts.convention.package.locators</param-name>
<param-value>action,actions</param-value>
</init-param>
</filter>

Did the trick!


Kind regards,
Tommy

Reply via email to