Thanks Nate, that's what I needed to know
Eric Rank
On Jan 5, 2007, at 11:44 AM, Nate Drake wrote:
> 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.Restful2Acti
>> onM
>> apper
>>
>
> You need to use the fully qualified classname.
>
> So this should work:
>
> struts.mapper.class=org.apache.struts2.dispatcher.mapper.Restful2Actio
> nMapper
>
> Not sure about the answer to question #3.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)