Hi, I'm new to Struts, using version 1.2.4, so this might in fact be a configuration problem...
Here's an extract from my struts-config.xml first: <action path = "/place" type = "de.isogmbh.srp.strutstest.client.PlaceAction" name = "PlaceForm" scope = "request" validate = "true" input = "/place.jsp" parameter = "do" > <forward name="ShowList" path="/place-list.do" /> </action> <action path = "/place-list" type = "de.isogmbh.srp.strutstest.client.PlaceDetailAction" name = "PlaceForm" scope = "request" validate = "true" input = "/place-list.jsp" parameter = "do" > <forward name="Edit" path="/place-details.do" /> </action> <action path = "/place-details" forward = "/place-details.jsp" /> On the page place.jsp, the user can enter a place name. PlaceAction will then load a list of all places with that name, to be displayed on place-list.jsp. place-list.jsp has links to place-details.jsp, which shows more information about one particular place. There is no JavaScript in my JSP and no empty img tags. PlaceAction and PlaceDetailAction are both subclasses of DispatchAction. PlaceAction has a method showList, and PlaceDetailAction has a method getPlace. Here's an extract of place.jsp: <html:form action="/place?do=showList"> <bean:message key="place.jsp.question"/> <html:text property="name" size="30" /> <html:submit property="submit"><bean:message key="place.jsp.search"/></html:submit> </html:form> And here's an extract of place-list.jsp: <html:link module="/place-details" action="/place-details?do=getPlace" paramName="entry" paramProperty="id" paramId="placeId" > <bean:write property="name" name="entry"/> </html:link> My Struts application is in a .war file running on Tomcat 5.0. When I entered a place name on place.do (using Internet Explorer 6), I got a NoSuchMethodException because PlaceDetailAction does not define a method showList. When I debugged the whole thing, I saw what happened: At the end of PlaceAction.showList, I return mapping.findForward("ShowList"). That method performs a kind of lookup in struts-config, where I said ShowList is a forward to place-list.do. Now place-list calls PlaceDetailAction, where it expects a method showList... What am I doing wrong? -- View this message in context: http://old.nabble.com/findForward-forwards-twice%2C-not-once-tp26389466p26389466.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org