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:[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]>