用的是sun的jsf
我定义了一个类。然后继承ValidatorTag
protected Validator createValidator() throws JspException{
IntRangeValidator validator=null;
validator=(IntRangeValidator)super.createValidator();//在这句出错了。
}
错误提示:
tomcat:Couldn't instantiate Validator of the type IntRangeValidator
jsp页面:Expression Error: Named Object: 'IntRangeValidator' not found.当然IntRangeValidator这个类我是有的:
public class IntRangeValidator implements Validator
我定义了一个类。然后继承ValidatorTag
protected Validator createValidator() throws JspException{
IntRangeValidator validator=null;
validator=(IntRangeValidator)super.createValidator();//在这句出错了。
}
错误提示:
tomcat:Couldn't instantiate Validator of the type IntRangeValidator
jsp页面:Expression Error: Named Object: 'IntRangeValidator' not found.当然IntRangeValidator这个类我是有的:
public class IntRangeValidator implements Validator
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货