None of the above. I use java data types but use getters and setters in the ActionForm to perform the casting and any other manipulations necessary.
Edgar > > Mainguy, Mike wrote: > > Here's my weekly(ish) question: > > For the purposes of this discussion, ActionForms also mean > > DynaActionForms and the like... Where does everyone cast their > > (String) request parameters to the 'proper' datatype? > > > > #1 My ActionForms only have Strings, I manually cast stuff > somewhere > > else. #2 My ActionForms only have Strings, I let (BeanUtils, > > JDBC,...) cast stuff for me somewhere else. #3 My ActionForms have > > java Datatypes, I let Struts(yeah, beanutils, I > > know) cast stuff for me. > > #4 I use strings for everything, I don't need to cast. > > > > ----------------------------------------- > > This message and its contents (to include attachments) are the > > property of Kmart Corporation (Kmart) and may contain > confidential and > > proprietary information. You are hereby notified that any > disclosure, > > copying, or distribution of this message, or the taking of > any action > > based on information contained herein is strictly prohibited. > > Unauthorized use of information contained herein may subject you to > > civil and criminal prosecution and penalties. If you are not the > > intended recipient, you should delete this message immediately. > > > > > > > --------------------------------------------------------------------- > > 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]