Validation String « Web « Spring Q&A





1. simple validation question (String --> int)    forum.springsource.org

simple validation question (String --> int) I'm familiar with Struts, but just begininng with Spring. I'm aware that Spring can post values to a backing bean and call a user-defined validator. ...

2. VAlidating Class names/Id string    forum.springsource.org

Is it possible to have Spring check at compile time that your references to the beans in the config file are correct, and that your config file does not have any ...

3. No client-side validation for String fields with max > 30 chars    forum.springsource.org

No client-side validation for String fields with max > 30 chars An entity with this field (or any length of 30 or less): Code: @NotNull @Size(max = 30) private String name; ...

4. NotNull validation and empty Strings    forum.springsource.org

Fields annotated with @NotNull get validatated that they are not null, but this isn't very helpful because empty HTML textboxes will submit a value of an empty string and thereby pass ...