Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts Framework Problem?

Status
Not open for further replies.

pratham123

Programmer
Dec 16, 2003
12
IN
We know that , in Struts FrameWork , we are inherit ActionForm class. it is a abtract class and it has many method to implement but we are not implementing single method . so why it is a abstract class and not interface.?
plz send me a reply as soon as possible
 
Becaue is has implemented some default methods,

e.g. validate(ActionMapping mapping,
ServletRequest request)

simply return null for no errors. so if you don't need validation, you don't need implment that.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top