Hi,
The minute I introduced Validator framework in my application .....
it started giving me the following error when I accessed the JSP ....
 centreList is used as a parameter for the dropdown. The minute I remove the
validation.xml from the path... the application runs fine again! :(
 very strange and i am not able to explain this behavior .. can someone
help?
  Thanks much in advance.
Regards,
Raghu

javax.servlet.jsp.JspException: Cannot find bean centreList in any scope
        org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)
        
fr.improve.struts.taglib.layout.field.OptionsCollectionTag.doStartTag(OptionsCollectionTag.java:115)
        
org.apache.jsp.student.StudentEnquiry_jsp._jspx_meth_layout_optionsCollection_0(StudentEnquiry_jsp.java:1088)
        
org.apache.jsp.student.StudentEnquiry_jsp._jspx_meth_layout_select_2(StudentEnquiry_jsp.java:1062)
        
org.apache.jsp.student.StudentEnquiry_jsp._jspx_meth_layout_grid_1(StudentEnquiry_jsp.java:1028)
        
org.apache.jsp.student.StudentEnquiry_jsp._jspService(StudentEnquiry_jsp.java:258)





My validation.xml (very simple one):

<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.0//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>


<form-validation>
    <formset>
        <form name="studentEnquiryForm">
            <field  property="studentEnquiry.firstName" depends="required">
                <arg0 key="firstName.mandatory"/>
            </field>
        </form>
    </formset>
</form-validation>

Reply via email to