Re: [Help] I cannot make the Validation in struts 2.0 works.....

2009-04-13 Thread Dave Newton
白鹏 wrote: > *The returned html file contains:* > > src="/LearnDataProject/struts/xhtml/validation.js"> > src="/LearnDataProject/struts/utils.js"> > > but *There isn't the folder 'struts' in my App /LearnDataProject .* > ** > *Why this happens??? * Client-side validation requires JavaScript.

Re: [Help] I cannot make the Validation in struts 2.0 works.....

2009-04-12 Thread 白鹏
And this is my *LoginAction-validation.xml: {I check the App folders ,the xml and LoginAction.class are in the same folder.}* http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";> 用户名必填! 用户名只能是字母和数字,且长度在4到25个字符之间 密码必填! 密码只能是

[Help] I cannot make the Validation in struts 2.0 works.....

2009-04-12 Thread 白鹏
Hello , the main codes in jsp is: *log.jsp * 用户名: 密码: 验证码: 验证码如图: 看不清? 单击此处刷新 "/> *The returned html file contains:* but *There isn't the folder 'struts' in my App /LearnDataProject .* ** *Why this happens??? * *Thanks for your help! *