here defines the *authorityStack *
// but the debugger
told me it* could not find the authorityStack!*
Does anyone can help?
Thanks !
Oh , I have fixed it. :)
The bug is in the login.jsp , I wrote
..
*login.action is a Url .. So the client side validation did not work. *
2009/4/14 白鹏
> I try to use the validation framework in the *client side* But failed.
>
> It is a ' login' scenario. In the h
I try to use the validation framework in the *client side* But failed.
It is a ' login' scenario. In the html source , I find
but there isn't the function *validateForm_login(); in the validation.js or
utils.js. *
The browser told me that there was something wrong with *the
validateForm
Has anyone use the validation framework of struts 2.1.6??
??
密码只能是字母和数字,且长度在4到25个字符之间
验证码必填!
验证码只能是数字和字母,且长度为6!
2009/4/13 白鹏
> Hello , the main codes in jsp is:
>
> *log.jsp *
>
> 用户名:
> 密码:
> 验证码:
> 验证码如图:
> 看不清? 单击此处刷新
> "/>
>
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! *
hey,guys, the code follows,
public class LoginInterceptor extends AbstractInterceptor {
private String* redirectUrl*;
public String getRedirectUrl() {
return redirectUrl;
}
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
wow, I got it.
If we place theafter , it will be OK!
2009/3/23 白鹏
> The error is not here.
> I change it to value="true" /> , but the
>
>
> is still there.
>
> 2009/3/22 Dale Newfield
>
> 白鹏 wrote:
>>
>>> >> value="tru
The error is not here.
I change it to , but the
is still there.
2009/3/22 Dale Newfield
> 白鹏 wrote:
>
>> > value="true">
>>
>
> Is it valid to have both a value attribute and a tag body?
>
> Try replacing that with:
>
http://struts.apache.org/dtds/struts-2.0.dtd";>
login.jsp
10 matches
Mail list logo