You can set global views with actions.xml. Simply create an action with no name or alias and give it the views you want.
<!-- Generic Error View--> <action> <view name="error">/site/errors/error.jsp</view> </action> Geoff -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Carreira Sent: 19 February 2003 04:43 To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Re: How do I redirect to error pages? > -----Original Message----- > From: Cameron Braid [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 11:23 PM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] Re: How do I redirect to error pages? > > > For this soloution won't you need to add the <view > name="login">Login.action</view> to each and every action > that can throw a > ResultException(LOGIN,"whatever") ? > > Could a way be devised to create global views ? Or something > similar to allow for these views to not have to be written in > each case? > > ..Cam... > This is currently possible in views.properties, and someone just posted something about it a couple of days ago. Not sure if you can do it with just actions.xml (can someone confirm?) This is also implemented in Xwork1.0/Webwork2.0. ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork