struts2中如何对double类型进行输入验证?
<field-validatortype="double"><paramname="min">0.0</param><param...
<field-validator type="double"> <param name="min">0.0</param> <param name="max">9999.99</param> <message>price must be between ${min}and ${max}!</message></field-validator>这样行吗?
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询