Lukasz Lenart <lukasz.lenart <at> googlemail.com> writes:

> 
> 2010/2/16 Anthony So <anthonyjso <at> gmail.com>:
> > All this said, I am unclear as to how I would go about defining a
> > package node in struts.xml that would extend the convention-default
> > (which extends struts-default), and then define global-exceptions and
> > global-mappings nodes that apply to all of my classes within that
> > package.
> 
> Define new package in struts.xml with global exception mappings and
> setup constant as below
> 
> <constant name="struts.convention.default.parent.package"
> value="myDefaultPackage"/>
> 
> Regards


Thanks. I will give it a try.

It should also be noted that I tried to use the annotations I initially posted
in package-info.java and they did not take hold.

-anthony


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to