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" /> <forward name="UserAppend" path="/openUserEdit.do?customerId=" redirect="true" /> </action> <action path="/openUserEdit" name="userEditForm" input="/secure/useredit.jsp" type="com.wingstech.webappointments.OpenUserEditAction" validate="false"> <forward name="Success" path="/secure/useredit.jsp" redirect="true" /> <forward name="Failure" path="/listedUser.do" redirect="true" /> </action> <action path="/userPostChanges" name="userEditForm" input="/secure/useredit.jsp" type="com.wingstech.webappointments.UserEditAction" validate="true"> <forward name="Success" path="/listedUser.do" redirect="true" /> <forward name="Failure" path="/useredit.jsp" redirect="true" /> </action> <!-- Calendar --> <action path="/listedCalendar" name="listedCalendarForm" input="/secure/calendarlist.jsp" type="com.wingstech.webappointments.ListedCalendarAction" parameter="action" validate="false"> <forward name="Success" path="/secure/calendarlist.jsp" redirect="true" /> <forward name="CalendarAppend" path="/openCalendarEdit.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarlisterror.jsp" redirect="true" /> </action> <action path="/openCalendarEdit" name="calendarEditForm" input="/secure/calendaredit.jsp" type="com.wingstech.webappointments.OpenCalendarEditAction" validate="false"> <forward name="Success" path="/secure/calendaredit.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <action path="/changeCalendar" name="calendarEditForm" input="/secure/calendaredit.jsp" parameter="action" type="com.wingstech.webappointments.ChangeCalendarAction" validate="true"> <forward name="Success" path="/openCalendarEdit.do?id=" redirect="true" /> <forward name="EditHolyday" path="/openHolyday.do?id=" redirect="true" /> <forward name="EditWwDay" path="/openWwDay.do" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <action path="/openWwDay" name="wwDayEditForm" input="/secure/wwdayedit.jsp" type="com.wingstech.webappointments.OpenWwDayEditAction" validate="false"> <forward name="Success" path="/secure/editwwday.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <action path="/editWwDay" name="wwDayEditForm" input="/secure/editwwday.jsp" parameter="action" type="com.wingstech.webappointments.WwDayEditAction" validate="true"> <forward name="Success" path="/openCalendarEdit.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <action path="/openHolyday" name="holydayEditForm" input="/secure/editholyday.jsp" type="com.wingstech.webappointments.OpenHolydayEditAction" validate="false"> <forward name="Success" path="/secure/editholyday.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <action path="/editHolyday" name="holydayEditForm" input="/secure/editholyday.jsp" type="com.wingstech.webappointments.HolydayEditAction" parameter="action" validate="true"> <forward name="Success" path="/openCalendarEdit.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/calendarediterror.jsp" redirect="true" /> </action> <!-- Specialities --> <action path="/listedSpeciality" name="listedSpecialitiesForm" input="/secure/specialitylist.jsp" type="com.wingstech.webappointments.ListedSpecialitiesAction" parameter="action" validate="false"> <forward name="Success" path="/secure/specialitylist.jsp" redirect="true" /> <forward name="Insert" path="/openSpeciality.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openSpeciality" name="specialityEditForm" input="/secure/specialityedit.jsp" type="com.wingstech.webappointments.OpenSpecialityEditAction" validate="false"> <forward name="Success" path="/secure/specialityedit.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialityediterror.jsp" redirect="true" /> </action> <action path="/changeSpeciality" name="specialityEditForm" input="/secure/specialityedit.jsp" parameter="action" type="com.wingstech.webappointments.ChangeSpecialityAction" validate="true"> <forward name="Success" path="/openSpeciality.do?id=" redirect="true" /> <forward name="EditActivity" path="/openActivity.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialityediterror.jsp" redirect="true" /> </action> <action path="/openActivity" name="activityEditForm" input="/secure/editactivity.jsp" type="com.wingstech.webappointments.OpenActivityEditAction" validate="false"> <forward name="Success" path="/secure/editactivity.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialityediterror.jsp" redirect="true" /> </action> <action path="/editActivity" name="activityEditForm" input="/secure/editactivity.jsp" type="com.wingstech.webappointments.ActivityEditAction" parameter="action" validate="true"> <forward name="Success" path="/openSpeciality.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <!-- ActivityCenters --> <action path="/listedActivCenters" name="listedActivCentersForm" input="/secure/activitycenterlist.jsp" type="com.wingstech.webappointments.ListedActivCentersAction" parameter="action" validate="false"> <forward name="Success" path="/secure/activitycenterlist.jsp" redirect="true" /> <forward name="Insert" path="/openActivCenter.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openActivCenter" name="activCenterEditForm" input="/secure/activitycenteredit.jsp" type="com.wingstech.webappointments.OpenActivCenterEditAction" validate="false"> <forward name="Success" path="/secure/activitycenteredit.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialityediterror.jsp" redirect="true" /> </action> <action path="/editActivCenter" name="activCenterEditForm" input="/secure/activitycenteredit.jsp" type="com.wingstech.webappointments.ActivCenterEditAction" parameter="action" validate="true"> <forward name="Success" path="/openActivCenter.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <!-- Bookings --> <action path="/openSpecialityView" name="specialityViewForm" input="/secure/specialityview.jsp" type="com.wingstech.webappointments.OpenSpecialityViewAction" validate="false"> <forward name="Success" path="/secure/specialityview.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/chooseSpecialityView" name="specialityViewForm" input="/secure/specialityview.jsp" type="com.wingstech.webappointments.ChooseSpecialityViewAction" validate="false"> <forward name="Success" path="/openActivityView.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openActivityView" name="activityViewForm" input="/secure/activityview.jsp" type="com.wingstech.webappointments.OpenActivityViewAction" validate="false"> <forward name="Success" path="/secure/activityview.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/chooseActivityView" name="activityViewForm" input="/secure/activityview.jsp" type="com.wingstech.webappointments.ChooseActivityViewAction" validate="false"> <forward name="Success" path="/openActivityCenterView.do?id=" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openActivityCenterView" name="activityCenterViewForm" input="/secure/activitycenterview.jsp" type="com.wingstech.webappointments.OpenActivityCenterViewAction" validate="false"> <forward name="Success" path="/secure/activitycenterview.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/chooseActivityCenterView" name="activityCenterViewForm" input="/secure/activityview.jsp" type="com.wingstech.webappointments.ChooseActivityCenterViewAction" validate="false"> <forward name="Success" path="/openFreeAgendaView.do" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openFreeAgendaView" name="freeAgendaViewForm" input="/secure/freeagendaview.jsp" type="com.wingstech.webappointments.OpenFreeAgendaViewAction" validate="false"> <forward name="Success" path="/secure/freeagendaview.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/bookAppointment" name="freeAgendaViewForm" input="/secure/freeagendaview.jsp" type="com.wingstech.webappointments.BookAppointmentAction" parameter="action" validate="true"> <forward name="SelectPeriod" path="/secure/freeagendaview.jsp" redirect="true" /> <forward name="SearchAgain" path="/openFreeAgendaView.do" redirect="true" /> <forward name="Recalc" path="/openFreeAgendaView.do" redirect="true" /> <forward name="OpenCustomerAppend" path="/openCustomerAppendBook.do?cf=" redirect="true" /> <forward name="Success" path="/openBook.do" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openBook" name="bookViewForm" input="/secure/bookview.jsp" type="com.wingstech.webappointments.OpenBookAction" validate="false"> <forward name="Success" path="/secure/bookview.jsp" redirect="true" /> </action> <action path="/continueBooking" name="specialityViewForm" input="/secure/specialityview.jsp" type="com.wingstech.webappointments.ContinueBookingViewAction" validate="false"> <forward name="Success" path="/secure/specialityview.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <action path="/openCustomerAppendBook" name="customerAppendBookForm" input="/secure/customerappendbook.jsp" type="com.wingstech.webappointments.OpenCustomerAppendBookAction" validate="false"> <forward name="Success" path="/customerAppendBook.do" redirect="true" /> </action> <action path="/customerAppendBook" name="customerAppendBookForm" input="/secure/customerappendbook.jsp" type="com.wingstech.webappointments.CustomerAppendBookAction" validate="true"> <forward name="Success" path="/bookAppointment.do" redirect="true" /> <forward name="Failure" path="/secure/customerappendbook.jsp" redirect="true" /> </action> <!-- Bookings management--> <action path="/chooseAgenda" name="chooseAgendaForm" input="/secure/chooseagenda.jsp" type="com.wingstech.webappointments.ChooseAgendaAction" validate="false"> <forward name="Success" path="/secure/chooseagenda.jsp" redirect="true" /> <forward name="Failure" path="/secure/errors/specialitylisterror.jsp" redirect="true" /> </action> <!-- --> <action path="/topborder" parameter="/topborder.jsp" type="org.apache.struts.actions.ForwardAction" /> <action path="/menu" parameter="/secure/menu.jsp" type="org.apache.struts.actions.ForwardAction" /> <action path="/logo" parameter="/logo.jsp" type="org.apache.struts.actions.ForwardAction" /> <action path="/main" parameter="/secure/webappointments.jsp" type="org.apache.struts.actions.ForwardAction" /> </action-mappings> <!-- ========== Controller Configuration ================================ --> <controller> <!-- The "input" parameter on "action" elements is the name of a local or global "forward" rather than a subapp-relative path --> <!--<set-property property="inputForward" value="false"/>--> </controller> <!-- ========== Message Resources Definitions =========================== --> <message-resources parameter="com.wingstech.webappointments.MessageResources" key="org.apache.struts.action.MESSAGE" /> <!--key="org.apache.struts.action.MESSAGE" />--> <!-- ========== Plug Ins Configuration ================================== --> </struts-config>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>