every time I try to access to chooseAgenda.do I've the folowing error back.
WARNING: Exception for /webappointments/secure/chooseagenda.jsp
javax.servlet.jsp.JspException: No getter method for property selectedAc of bean org.apache.struts.taglib.html.BEAN
I try to attach involved files , coud you be so kind to explain to me whats happening?
regards
kiuma
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "http://www.jboss.org/j2ee/dtds/jboss-web_3_0.dtd">
<jboss-web> <security-domain>java:/jaas/appointmentsApp</security-domain> <ejb-ref> <ejb-ref-name>ejb/webappointments/UserSession</ejb-ref-name> <jndi-name>ejb/webappointments/UserSession</jndi-name> </ejb-ref> <ejb-ref> <ejb-ref-name>ejb/webappointments/CustomerSession</ejb-ref-name> <jndi-name>ejb/webappointments/CustomerSession</jndi-name> </ejb-ref> <ejb-ref> <ejb-ref-name>ejb/webappointments/CalendarSession</ejb-ref-name> <jndi-name>ejb/webappointments/CalendarSession</jndi-name> </ejb-ref> <ejb-ref> <ejb-ref-name>ejb/webappointments/ActivitySession</ejb-ref-name> <jndi-name>ejb/webappointments/ActivitySession</jndi-name> </ejb-ref> <ejb-ref> <ejb-ref-name>ejb/webappointments/AgendaSession</ejb-ref-name> <jndi-name>ejb/webappointments/AgendaSession</jndi-name> </ejb-ref> </jboss-web>
/* * ListedActivCentersForm.java * * Created on 9 settembre 2002, 14.16 */ package com.wingstech.webappointments; import org.apache.struts.action.*; import org.apache.struts.util.MessageResources; import com.wingstech.webappointments.utils.*; import com.wingstech.webappointments.interfaces.*; import java.util.*; /** * * @author kiuma * * This class is the struts form interface * * */ public class ListedAgendaForm extends ActionForm { //private String activCentersChecked[]; private String selectedAc; private Collection activCentersFound; /** Creates a new instance of ListedSpecialitiesForm */ public ListedAgendaForm() { super(); activCentersFound = new Vector(); resetFields(); } /** * Restets all fields */ public void resetFields () { selectedAc=""; //activCentersChecked = new String[0]; activCentersFound.clear(); } public String getSelectedAc() { return this.selectedAc; } /* public String[] getActivCentersChecked() { return this.activCentersChecked; } */ public Collection getActivCentersFound() { return this.activCentersFound; } public String getActivCentersFoundSize() { return this.activCentersFound.size() + ""; } //Setters public void setSelectedAc(String selectedAc) { this.selectedAc = selectedAc; } /* public void setActivCentersChecked(String activCentersChecked[]) { this.activCentersChecked = activCentersChecked; } */ public void setActivCentersFound(Collection activCentersFound) { this.activCentersFound = activCentersFound; } public void reset( ActionMapping mapping, HttpServletRequest req) { resetFields(); } /** * Called by the framework to validate the calendar's data * @return On success returns an empty ActionErrors */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest req) { return null; } }
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %> <%@ taglib uri="/WEB-INF/struts-bean-el.tld" prefix="bean-el" %> <template:insert template="/skel.jsp"> <template:put name='title' content='WebAppointments v1.0' direct='true'/> <template:put name='topborder' content='/topborder.jsp'/> <template:put name='menu' content='/secure/menu.jsp'/> <template:put name='centerframe' content='/secure/chooseagenda_center.jsp'/> </template:insert>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>