2013/7/10 Alireza Fattahi <afatt...@yahoo.com>:
> Hi,
>
> So I define some thing like
>
> <package name="myPackage" extends="json-default,rest-default"    
> namespace="/">
>
>   </package>
>
>
> Is it possible that I say the struts that this the default package for all 
> packages ?!

There is nothing like that - a default package - you can re-use your
package in xml or with annotation:

<package name="otherPackage" extends="myPackage">

@ParentPackage("myPackage")


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

Reply via email to