Prefix based factory should be used with {@link org.apache.struts2.dispatcher.mapper.PrefixBasedActionMapper}to use appropriate {@link com.opensymphony.xwork2.ActionProxyFactory} connected with given{@link org.apache.struts2.dispatcher.mapper.ActionMapper}Add below entry to struts.xml to enable the factory:
<constant name="struts.actionProxyFactory" value="prefix"/>
The factory will use the same set of patterns as defined with:
<constant name="struts.mapper.prefixMapping" value="..."/>