You did restart your tomcat after modifying struts-config.xml, did you? And you made sure ListCDAction extends Action :-P ?
tomK > -----Original Message----- > From: Wim Fournier [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 15 januari 2002 15:36 > To: Struts Users Mailing List > Subject: Re: mapping not found? > > > have this in my struts-config.xml: > > <!-- Action Form Beans --> > <form-beans> > <form-bean name="listCDForm" > type="nl.kern.j2ee.sample.struts.ListCDForm"/> > </form-beans> > > so thats covered.. > is there a reason for you to write DC instead of CD? (maybe i > made a typo somewhere?) > > tnx > > > On Tue, Jan 15, 2002 at 02:25:39PM +0000, karim wrote: > > your listCDForm needs a Form Bean Definition in the > struts-config.xml file. > > > > should look something like this: > > <form-beans> > > > > <!-- Logon form bean --> > > <form-bean name="listDCForm" > > type="nl.kern.j2ee.sample.struts.ListDCForm"/> > > </form-beans> > > > > > > [EMAIL PROTECTED] wrote: > > > > > Hi again > > > > > > My catalina tells me that it cant find the mapping for /listcd > > > > > > log: > > > [INFO,EmbeddedCatalinaServiceSX] action: Process > servletName=action, urlPattern=*.do > > > [INFO,EmbeddedCatalinaServiceSX] action: Mapping for > servlet 'action' = '*.do' > > > > > > javax.servlet.ServletException: Cannot retrieve mapping > for action /listcd > > > > > > web.xml: > > > <servlet-mapping> > > > <servlet-name>action</servlet-name> > > > <url-pattern>*.do</url-pattern> > > > </servlet-mapping> > > > > > > struts-config.xml: > > > <action path="/listcd" > > > type="nl.kern.j2ee.sample.struts.ListCDAction" > > > name="listCDForm" > > > scope="request" > > > input="/ListCD.jsp" > > > validate="false"> > > > <forward name="result" path="/ListCD.jsp"/> > > > </action> > > > > > > ListCD.jsp: > > > <html:form action="/listcd"> > > > > > > anyone? > > > or should i start to look for a hammer again? > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:struts-user-> [EMAIL PROTECTED]> > > > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:struts-user-> [EMAIL PROTECTED]> > > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

