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

advertisement

AddThis Social Bookmark Button
Article:
  Extending Struts
Subject:   customizing the default requestprocessor
Date:   2005-01-22 05:33:31
From:   madhavim
In the example provided the customization has been done to incoporate logic to ensure the user is logged in before performing an action.


This can alternatively be achieved by just extending org.apache.struts.action.Action and providing for the check in the execute method.


Can you point out the disadvantages in doing so ?


1 to 1 of 1
1 to 1 of 1