File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Common base class for classes extending Action and  DispatchAction Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Common base class for classes extending Action and  DispatchAction Classes " Watch "Common base class for classes extending Action and  DispatchAction Classes " New topic
Author

Common base class for classes extending Action and DispatchAction Classes

ajit alwe
Greenhorn

Joined: Dec 15, 2003
Posts: 3
I have common code, which will be used by all the classes extending Action and DispatchAction Classes in the application.
If there is only one base class extending DispatchAction class, then all the classes which wants to use only Action class features needs configure the DispatchAction configuration, i.e. 'parameter' attribute in the action element in the struts-config.xml and supply parameter information through the HTTP request.
To Avoid this i will have to use two base classes with same code. one extending Action class and the other extending <br>ActionDispatch.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Common base class for classes extending Action and DispatchAction Classes
 
Similar Threads
Override DispatchAction but keep the existing funcationallity
How to have Common base class for classes extending Action and DispatchAction Classe
problem with LookupDispatchAction
LookupDispatchAction vs. traditional Action
Difference between Action And DispatchAction in struts