[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: Configuration for "struts.convention.action.suffix"
From:       Maurizio Cucchiara <maurizio.cucchiara () gmail ! com>
Date:       2010-11-29 17:43:17
Message-ID: AANLkTimebAxc=RpD2yC9bLuApjDR1CYksMgJ_cQxB98R () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic