struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <shirishchandra.sakh...@ubs.com>
Subject RE: executing statements on subsets of actions without code duplication
Date Mon, 16 Jun 2003 06:09:50 GMT
What is inheritancde for then:-))

Make an abstract action and have this code there...
 All your actions will extend this action..And bingo here you go.....

-----Original Message-----
From: Rob [mailto:bss@insightoutsight.com.au]
Sent: Saturday, June 14, 2003 6:34 AM
To: Struts Users Mailing List
Subject: executing statements on subsets of actions without code
duplication


I have a set of statements I would like executed every time
an action is executed.  I would also like to only have to
code these set of statements once and have them transparently
executed for all actions (except for a small subset).

Is there a facility in struts for doing this?  Is there an
example somewhere perhaps in the example application?
(I couldn't see one)

Thanks


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


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


Mime
View raw message