Please help no getter method nightmare
Hi all, I've a big problem in my project: I can't add any getter method in any new form since on every jsp form i get back message. javax.servlet.jsp.JspException: No getter method for property fooProp of bean org.apache.struts.taglib.html.BEAN I tryed with several foms (also the famous FooForm), but the result is always the same. I attach my struts-config.xml file. The thing I really can't understand is that all forms perfectly work except the one defined in /chooseAgenda action or those created from scratch and inserted (no matter the position). Please I really need help !! kiuma ?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; struts-config form-beans form-bean name=userForm type=com.wingstech.webappointments.ChkForm / form-bean name=listedCustomerForm type=com.wingstech.webappointments.ListedCustomerForm / form-bean name=customerEditForm type=com.wingstech.webappointments.CustomerEditForm / form-bean name=listedUserForm type=com.wingstech.webappointments.ListedUserForm / form-bean name=userEditForm type=com.wingstech.webappointments.UserEditForm / form-bean name=listedCalendarForm type=com.wingstech.webappointments.ListedCalendarForm / form-bean name=calendarEditForm type=com.wingstech.webappointments.CalendarEditForm / form-bean name=wwDayEditForm type=com.wingstech.webappointments.WwDayEditForm / form-bean name=holydayEditForm type=com.wingstech.webappointments.HolydayEditForm / form-bean name=listedSpecialitiesForm type=com.wingstech.webappointments.ListedSpecialitiesForm / form-bean name=specialityEditForm type=com.wingstech.webappointments.SpecialityEditForm / form-bean name=activityEditForm type=com.wingstech.webappointments.ActivityEditForm / form-bean name=listedActivCentersForm type=com.wingstech.webappointments.ListedActivCentersForm / form-bean name=activCenterEditForm type=com.wingstech.webappointments.ActivCenterEditForm / form-bean name=specialityViewForm type=com.wingstech.webappointments.SpecialityViewForm / form-bean name=activityViewForm type=com.wingstech.webappointments.ActivityViewForm / form-bean name=activityCenterViewForm type=com.wingstech.webappointments.ActivityCenterViewForm / form-bean name=freeAgendaViewForm type=com.wingstech.webappointments.FreeAgendaViewForm / form-bean name=customerAppendBookForm type=com.wingstech.webappointments.CustomerAppendBookForm / form-bean name=bookViewForm type=com.wingstech.webappointments.BookViewForm / form-bean name=chooseAgendaForm type=com.wingstech.webappointments.ChooseAgendaForm / /form-beans !-- == Global Forward Definitions == -- global-forwards forward name=index path=/index.jsp / forward name=SystemError path=/error.html / /global-forwards !-- == Action Mapping Definitions == -- action-mappings !-- Customer -- action path=/openCustomerList type=org.apache.struts.actions.ForwardAction name=listedCustomerForm parameter=/secure/customerlist.jsp input=/index.jsp validate=false /action action name=listedCustomerForm input=/secure/customerlist.jsp path=/listedCustomer type=com.wingstech.webappointments.ListedCustomerAction parameter=action validate=false forward name=Success path=/secure/customerlist.jsp redirect=true / forward name=CustomerAppend path=/openCustomerEdit.do?id= redirect=true / /action action path=/openCustomerEdit name=customerEditForm input=/secure/customeredit.jsp type=com.wingstech.webappointments.OpenCustomerEditAction validate=false forward name=Success path=/secure/customeredit.jsp redirect=true / forward name=Failure path=/secure/customerlist.jsp redirect=true / /action action path=/customerPostChanges name=customerEditForm input=/secure/customeredit.jsp type=com.wingstech.webappointments.CustomerEditAction validate=true forward name=Success path=/listedCustomer.do?id= redirect=true / forward name=Failure path=/secure/customeredit.jsp redirect=true / /action !-- User -- action path=/openUserList type=org.apache.struts.actions.ForwardAction name=listedUserForm parameter=/secure/userlist.jsp input=/index.jsp validate=false /action action path=/listedUser name=listedUserForm input=/secure/userlist.jsp type=com.wingstech.webappointments.ListedUserAction parameter=action validate=false forward name=Success path=/secure/userlist.jsp redirect=true /
Re: Please help no getter method nightmare
I partially solved this error writing html-el:form action=/main name=chooseAgendaForm type=com.wingstech.webappointments.ChooseAgendaForm but why does this work only with this deprecated solution??? Thanks in advance, kiuma kiuma ha scritto: Hi all, I've a big problem in my project: I can't add any getter method in any new form since on every jsp form i get back message. javax.servlet.jsp.JspException: No getter method for property fooProp of bean org.apache.struts.taglib.html.BEAN I tryed with several foms (also the famous FooForm), but the result is always the same. I attach my struts-config.xml file. The thing I really can't understand is that all forms perfectly work except the one defined in /chooseAgenda action or those created from scratch and inserted (no matter the position). Please I really need help !! kiuma ?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; struts-config form-beans form-bean name=userForm type=com.wingstech.webappointments.ChkForm / form-bean name=listedCustomerForm type=com.wingstech.webappointments.ListedCustomerForm / form-bean name=customerEditForm type=com.wingstech.webappointments.CustomerEditForm / form-bean name=listedUserForm type=com.wingstech.webappointments.ListedUserForm / form-bean name=userEditForm type=com.wingstech.webappointments.UserEditForm / form-bean name=listedCalendarForm type=com.wingstech.webappointments.ListedCalendarForm / form-bean name=calendarEditForm type=com.wingstech.webappointments.CalendarEditForm / form-bean name=wwDayEditForm type=com.wingstech.webappointments.WwDayEditForm / form-bean name=holydayEditForm type=com.wingstech.webappointments.HolydayEditForm / form-bean name=listedSpecialitiesForm type=com.wingstech.webappointments.ListedSpecialitiesForm / form-bean name=specialityEditForm type=com.wingstech.webappointments.SpecialityEditForm / form-bean name=activityEditForm type=com.wingstech.webappointments.ActivityEditForm / form-bean name=listedActivCentersForm type=com.wingstech.webappointments.ListedActivCentersForm / form-bean name=activCenterEditForm type=com.wingstech.webappointments.ActivCenterEditForm / form-bean name=specialityViewForm type=com.wingstech.webappointments.SpecialityViewForm / form-bean name=activityViewForm type=com.wingstech.webappointments.ActivityViewForm / form-bean name=activityCenterViewForm type=com.wingstech.webappointments.ActivityCenterViewForm / form-bean name=freeAgendaViewForm type=com.wingstech.webappointments.FreeAgendaViewForm / form-bean name=customerAppendBookForm type=com.wingstech.webappointments.CustomerAppendBookForm / form-bean name=bookViewForm type=com.wingstech.webappointments.BookViewForm / form-bean name=chooseAgendaForm type=com.wingstech.webappointments.ChooseAgendaForm / /form-beans !-- == Global Forward Definitions == -- global-forwards forward name=index path=/index.jsp / forward name=SystemError path=/error.html / /global-forwards !-- == Action Mapping Definitions == -- action-mappings !-- Customer -- action path=/openCustomerList type=org.apache.struts.actions.ForwardAction name=listedCustomerForm parameter=/secure/customerlist.jsp input=/index.jsp validate=false /action action name=listedCustomerForm input=/secure/customerlist.jsp path=/listedCustomer type=com.wingstech.webappointments.ListedCustomerAction parameter=action validate=false forward name=Success path=/secure/customerlist.jsp redirect=true / forward name=CustomerAppend path=/openCustomerEdit.do?id= redirect=true / /action action path=/openCustomerEdit name=customerEditForm input=/secure/customeredit.jsp type=com.wingstech.webappointments.OpenCustomerEditAction validate=false forward name=Success path=/secure/customeredit.jsp redirect=true / forward name=Failure path=/secure/customerlist.jsp redirect=true / /action action path=/customerPostChanges name=customerEditForm input=/secure/customeredit.jsp type=com.wingstech.webappointments.CustomerEditAction validate=true forward name=Success path=/listedCustomer.do?id= redirect=true / forward name=Failure path=/secure/customeredit.jsp redirect=true / /action !-- User -- action path=/openUserList type=org.apache.struts.actions.ForwardAction name=listedUserForm parameter=/secure/userlist.jsp input=/index.jsp validate=false /action