Try putting scope="request" on your action mappings. I don't think they are found because they aren't in the session (the default).
On Tue, Jun 30, 2009 at 3:42 AM, Florian Rustedt<florian.rust...@smartnet.de> wrote: > Hi, > > i want to do follwing: > after Login, i am at "showCallinggroupMembers.jsp". There, i want to implement > three html forms in one jsp for "add", "edit" and "delete" an entry. > > So i added a mappingDispatchAction "SelectCallinggroupMembersAction" which > handles the action corresponding to the three directions. > > If i now access "showCallinggroupMembers.jsp", i get > javax.servlet.ServletException: javax.servlet.jsp.JspException: Form bean not > specified on mapping for action: "/editCallinggroupMember" > > But how do i define the formBean(s) correctly? > > I tried adding: > <form-bean name="editCallinggroupMemberForm" > type="org.apache.struts.action.DynaActionForm" /> > and adding to the action > input="/customer/showCallinggroupMembers.jsp" > > But the error keeps the same? > > Any ideas? > > Kind regards, Florian > > --------- struts.config -------------- > <struts-config> > <form-beans > > <form-bean name="loginForm" > type="org.apache.struts.action.DynaActionForm"> > <form-property name="login" type="java.lang.String" /> > <form-property name="password" type="java.lang.String" /> > </form-bean> > </form-beans> > > <global-exceptions /> > <global-forwards > > <forward name="error" path="/templates/error.jsp" /> > <forward name="logout" path="/templates/reallyLogout.jsp" /> > </global-forwards> > > <action-mappings > > <!-- Pure Forwarder --> > <action forward="/customer/showCallinggroupMembers.jsp" > path="/showCallinggroupMembers" /> > > <!-- MappingDispatchActions --> > <action path="/selectCallinggroupMembersAction" > type="de.smartnet.smartcentrex.action.SelectCallinggroupMembersAction" > validate="false"> > </action> > > <!-- MappingDispatchActions: Definitionen --> > <action path="/addCallinggroupMember" > type="de.smartnet.smartcentrex.action.SelectCallinggroupMembersAction" > parameter="add"> > <forward name="add" > path="/customer/addCallinggroupMember.jsp" /> > </action> > <action > parameter="edit" > path="/editCallinggroupMember" > type="de.smartnet.smartcentrex.action.SelectCallinggroupMembersAction"> > <forward name="edit" path="/customer/editCallinggroupMember.jsp" /> > </action> > <action > parameter="delete" > path="/deleteCallinggroupMember" > type="de.smartnet.smartcentrex.action.SelectCallinggroupMembersAction"> > <forward name="delete" path="/customer/deleteCallinggroupMember.jsp" /> > </action> > > > <!-- Standard Actions --> > <action > attribute="loginForm" > input="/login.jsp" > name="loginForm" > path="/login" > type="de.smartnet.smartcentrex.action.LoginAction" > validate="false"> > <forward name="success" path="/showCustomer.do" /> > > </action> > > </action-mappings> > > <message-resources parameter="de.smartnet.smartcentrex.ApplicationResources" > /> > <plug-in className="org.apache.struts.tiles.TilesPlugin" > > <set-property property="definitions-config" > value="/WEB-INF/tiles-definitions.xml" /> > <set-property property="moduleAware" value="true" /> > </plug-in> > </struts-config> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org