ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Extending Struts
Subject:   customizing the default requestprocessor
Date:   2005-01-24 09:48:06
From:   madhavim
Response to: customizing the default requestprocessor

I think the last point is a very valid one.

Regarding the others, we could write a BaseAction class in which we can put the security logic along with some other common features and have each action class extending this BaseAction class. This would avoid the copy/paste, need for a seperate class and ensuring it is called etc.