#1. Strings, strings and more strings for me please! (yes even for
checkboxes)

-----Original Message-----
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 14 October 2003 03:37
To: [EMAIL PROTECTED]
Cc: Green, Matt
Subject: [Poll] Action Form data types


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]

Reply via email to