struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy <>
Subject Struts1 forms with empty Strings
Date Fri, 29 Feb 2008 18:58:35 GMT
I was wondering if there is a way to configure Struts1 so Form beans return null values instead
of empty String values when a user does not enter data in a text field, for example.  The
problem is that Hibernate then saves empty Strings to the database instead of nulls.  I would
like to configure something globally if possible.  
Thanks.. Andy

Helping your favorite cause is as easy as instant messaging. You IM, we give.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message