Thanks ! I found a code here:http://struts.apache.org/release/2.0.x/docs/zero-configuration.html
@ParentPackage({"my-parent-package1, my-parent-package2"}) package com.mycompany.myapp.actions import org.apache.struts2.config.ParentPackage; Can I do it ?! ~Regards, ~~Alireza Fattahi ________________________________ From: Lukasz Lenart <lukaszlen...@apache.org> To: Struts Users Mailing List <user@struts.apache.org>; Alireza Fattahi <afatt...@yahoo.com> Sent: Wednesday, 10 July 2013, 10:13 Subject: Re: Using Two Parent Pakages!! 2013/7/10 Alireza Fattahi <afatt...@yahoo.com>: > Hi, > > I am using the convention in with json plugin so I add: > <constant name="struts.convention.default.parent.package" > value="json-default" /> > Now I want to use the REST plugin so I should add: > <constant name="struts.convention.default.parent.package" > value="rest-default" /> json-default [1] contains just one result definition and two interceptors, so you can merge it into your own package > How can I solve it ! Question mark would be better than exclamation mark ;-) [1] https://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/json/src/main/resources/struts-plugin.xml Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org