2013/7/10 Alireza Fattahi <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]