发现springmodules validation的问题
2006-03-05 21:31
260 查看
the solution for the error "does not support command class" error is that your validator xml form name does not match the class name (w/lower case 1st letter)
My redux redux is:
for a domain/entity class named SomeDumbClass:
? The commandClass in the Spring servlet config is com.foo.bar.SomeDumbClass
? The form name in the validation file must be someDumbClass
? The form name in the <v:javascript> tag in the JSP must be someDumbClass
? The name in the HTML form tag must be someDumbClassForm and the onsubmit attribute of the HTML form tag must be 'return validateSomeDumbClass (this)'
? Field names in the validation file will match the generated HTML names of the inputs
Thanks again Matt!
来自http://jroller.com/page/raible?anchor=using_commons_validator_with_spring
竟然用这种奇怪方法!
My redux redux is:
for a domain/entity class named SomeDumbClass:
? The commandClass in the Spring servlet config is com.foo.bar.SomeDumbClass
? The form name in the validation file must be someDumbClass
? The form name in the <v:javascript> tag in the JSP must be someDumbClass
? The name in the HTML form tag must be someDumbClassForm and the onsubmit attribute of the HTML form tag must be 'return validateSomeDumbClass (this)'
? Field names in the validation file will match the generated HTML names of the inputs
Thanks again Matt!
来自http://jroller.com/page/raible?anchor=using_commons_validator_with_spring
竟然用这种奇怪方法!
相关文章推荐
- spring mvx 中引入 spring-modules-validation 问题
- 学习Spring过程中发现的一个怪问题
- 在Spring中发现java.lang.ClassCastException: $Proxy1问题解析
- Spring--《Spring实战》第6章ValidationMessages.properties使用问题
- 关于Spring整合发现的一些问题。
- redis 在spring boot工程中的应用(三) 问题发现与解决 :反序列化 报错
- 发现一个问题,十分蛋疼。 我们项目是由N个工程组成的,外围工程是web工程,内部的工程打包成jar,放入外围工程的WEB-INF/lib 内部的工程用到了spring的注解,例如@Service、
- 基于maven的springMvc+Mybatis,搭建项目的时候发现一些问题这里例举下
- 在Spring中发现java.lang.ClassCastException: $Proxy1问题解析
- springMVC 页面传入日期报错问题处理:org.springframework.validation.BindException: org.springframework.validation.
- spring测试中发现的问题
- 在Spring中发现java.lang.ClassCastException: $Proxy6问题解析
- 在Spring中发现java.lang.ClassCastException: $Proxy1问题解
- 关于Spring整合发现的一些问题。
- Spring MVC+Mybatis 多数据源配置及发现的几个问题
- SpringSessionRedis配置及发现的问题
- 在Spring中发现java.lang.ClassCastException: $Proxy1问题
- org.springframework.validation.BindException问题解决
- SSH框架整合发现的问题,必须放置在Spring中配置
- 配置spring+mybatis 所发现的奇怪问题