The change to allow the annotation at the package level is only in
trunk right now and not in the released versions of 2.0.11.1 or 2.1.2.
 I didn't see that other page, so I'll make a note to update it as
well.  The 2.x docs are from our very current documentation for the
version that is currently in trunk.  See

http://struts.apache.org/2.0.11.1/docs/zero-configuration.html

for the docs for that version (for the most part).

Don

2008/6/19 Paweł Wielgus <[EMAIL PROTECTED]>:
> Hi all,
> i'm trying to make use of ParentPackage annotaion and here:
> http://struts.apache.org/2.x/docs/zero-configuration.html
> it is sad that i should use it at package-level in package-info.java,
> but here:
> http://struts.apache.org/2.x/docs/parentpackage-annotation.html
> is sad that ParentPackage is class-level
>
> I've been trying this out and it looks like ParentPackage is only
> working when declared at class level. I tried it on 2.0.11.1 and 2.1.2
> Some kind of documentation error?
>
> Best greetings,
> Paweł Wielgus.
>

Reply via email to