#2

On 10/13/2003 09:37 PM 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]




--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to