增加validation配置. 在spring-mvc-servlet.xml中增加如下配置: <mvc:annotation-driven validator="validator"> <bean id="validator" ...
確定! 回上一頁