According to Craig McClanahan at http://www.theserverside.com/events/library.jsp#mcclanahan, You would lose type safety and risk getting a ClassCastException in the JSP. Also, you would not know which field names are legal.
Regards, Phil Seay -----Original Message----- From: Fullam, Jonathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 5:58 AM To: 'Struts Users Mailing List' Subject: RE: Why isn't an ActionForm just a Map? One guess would be because then you would lose some of the methods which provide more functionality than just a TransferObject provides. Such methods are validate and reset. -Jonathan -----Original Message----- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 8:39 AM To: struts Subject: Why isn't an ActionForm just a Map? This question is from the table of contents of a text book. I dont have this book in hand. I have other questions also. Why ActionForm is made Struts dependent ?. Why not use just plain JavaBean whch can be used as TransferObject. ? rgds Antony Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

