Try this:
<action>
<view name="error">error.jsp</view>
<view name="input">error.jsp</view>
</action>
Bill Lynch wrote:
All,
Is it possible to have a global view defined in the
actions.xml/views.properties file? For example, I'd like to define a
global error view like so:
<actions>
<view name="error">error.jsp</view>
<action name="foo">
<view name="bar">bar.jsp</view>
</action>
<action name="foo2">
<view name="your">mom.jsp</view>
<view name="error">custom-error.jsp</view>
</action>
</actions>
Is this possible? If not, what are the thoughts on this feature? From
what little I know of Struts, this sort of thing is possible.
Regards,
--Bill
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork