--- On Tue, 6/17/08, stanlick <[EMAIL PROTECTED]> wrote:
> Are you looking at the source in
> /struts-2.1.2/src/plugins/rest/src/main/java?

No, I had been looking in trunk.

S2.1.2, however, doesn't differ from trunk w.r.t. the action mapper (see 
appended diff). The config file wouldn't be in the Java directory, either; 
config files are in the resource directory--not sure what you're looking at.

Dave

-- Diff of S2.1.2 v. trunk REST plugin config file

~/s2/svn $ diff -w trunk/plugins/rest/src/main/resources/struts-plugin.xml 
STRUTS_2_1_2/plugins/rest/src/main/resources/struts-plugin.xml 
4c4
<  * $Id: struts-plugin.xml 663605 2008-06-05 13:31:01Z musachy $
---
>  * $Id: struts-plugin.xml 651946 2008-04-27 13:41:38Z apetrelli $
32a33,34
>       <bean type="com.opensymphony.xwork2.config.PackageProvider" name="rest" 
> class="org.apache.struts2.rest.ControllerClasspathPackageProvider" />
> 
45,48c47,48
<     <!--  Overwrite Codebehind -->
<     <constant name="struts.codebehind.classSuffix" value="Controller"/>
<     <constant name="struts.codebehind.action.checkImplementsAction" 
value="false"/>
<     <constant name="struts.codebehind.action.checkAnnotation" value="false"/>
---
>     <!--  Disable the scanning by the codebehind plugin to prevent duplicates 
> -->
>     <constant name="struts.configuration.classpath.disableActionScanning" 
> value="true" />
49a50
>     <constant name="struts.configuration.rest.disableControllerScanning" 
> value="false" />


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to