Eric Rank <ericrank <at> lo-fi.net> writes:
> 2. In the struts-default.xml file that ships with Struts2, there's a
> line, which names the class to "restful2":
>
> <bean type="
org.apache.struts2.dispatcher.mapper.ActionMapper"
> name="restful2"
> class="
org.apache.struts2.dispatcher.mapper.Restful2ActionMapper" />
>
> So, assuming that I need to modify the struts.mapper.class property,
> which is right:
>
> struts.mapper.class=restful2
>
> or
>
> struts.mapper.class=org.apache.struts2.dispatcher.mapper.Restful2ActionM
> apper
>
You need to use the fully qualified classname.
So this should work:
struts.mapper.class=
org.apache.struts2.dispatcher.mapper.Restful2ActionMapperNot sure about the answer to question #3.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)