You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jason Ferguson <fe...@gmail.com> on 2010/09/25 13:33:49 UTC
ParentPackage Annotation
I'm using the JSON plugin to manage my actions that require JSON response as
well as the convention plugin. However, I've Googled until my eyes were
about to find out and couldn't find the answer to this question:
Can the @ParentPackage annotation accept more than one argument (i.e. both
"struts-default" and "json-default")?
Currently I'm creating a separate action just for handling JSON methods and
would prefer not to.
Jason
Re: ParentPackage Annotation
Posted by Dale Newfield <da...@newfield.org>.
On Sep 25, 2010, at 7:33 AM, Jason Ferguson <fe...@gmail.com> wrote:
> Can the @ParentPackage annotation accept more than one argument (i.e. both "struts-default" and "json-default")?
IIRC, json-default extends struts-default, so that shouldn't be an issue...
-Dale