struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <maurizio.cucchi...@gmail.com>
Subject Re: Configuration for "struts.convention.action.suffix"
Date Mon, 29 Nov 2010 17:43:17 GMT
According to rest plugin docs
(http://struts.apache.org/2.2.1/docs/rest-plugin.html)
struts.convention.action.suffix should be a String, so I guess that it
doesn't accept multiple value.
I'm not sure it works, but why don't you try to use
struts.convention.package.locators instead of action.suffix constant?

2010/11/29 developer researcher <java.developer.researcher@gmail.com>:
>     Hello,
>
>     I need have a web application that expose part of its functionality as
> RESTfull web services. For this I plan to use the REST Plugin but this
> implies set in struts.xml the next:
>
> <constant name="struts.convention.action.suffix" value="Controller"/>
>
>     In this context i have a doubt: Is possible that
> 'struts.convention.action.suffix' supports several values (for example
> Action and Controller)? or is possible do have the web application and the
> RESTfull services in the same WAR?
>
> Regards,
>



-- 
Maurizio Cucchiara

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


Mime
View raw message