Hello all,
I am very new to struts framework app. development.
I downloaded a small and a very simple applcation(Login application) from internet and it works fine. Now i am trying making little chages in it and trying to grasp the fundamentals of using struts.
My jsp(LoginView.jsp) uses bean called LoginForm for the field validation. The declaration for whcih has been included in struts-config.xml file under the <form- bean> tag. I dont want to use this bean and use javascript for the frontend validations instead. So i remove the following part
 
  <form-beans>
   <form-bean name="login" type="test.struts.LoginForm" />
  </form-beans>
 
 
 from struts-config.xml file. But then my page doesn't get loaded and instead throws an error stating  "Cannot retrieve definition for form bean null" .
Is it essential to use a bean for every jsp file??
 
please throw some light...
Thanks in Advance
Shalu
--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>


Reply via email to