Did you define the action servlet in your web.xml properly?
You need to map your action servlet to a URL pattern. I put this in my
web.xml file:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
.....
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
This tells the servlet container to map any url that ends in .do to the
struts action servlet. To access /saveApplication, you would go to the
URL /saveApplication.do
Jay
On Thu, 7 Feb 2002, Joe Latty wrote:
> I receive the following error �500 No action instance for path
> /saveApplication could be created�
>
> If I call application.jsp the page shows up fine but when I submit the form
> I receive the �No action instance error�
>
> In my struts-config.xml I have the following mapping
>
> <action-mappings>
> <action path="/saveApplication"
>
> type="com.team2media.controller.SaveApplicatonAction"
> name="applicationForm"
> scope="request"
> validate="true"
> input="/application.jsp" >
> <forward name="continue" path="/application.jsp"/>
> </action>
>
> <!�This mapping works fine -->
> <action path="/contact"
> type="com.team2media.controller.ContactAction"
> name="contactForm"
> scope="request"
> validate="true"
> input="/contact.jsp">
> <forward name="cancel" path="/contact.jsp"/>
> <forward name="continue" path="/contact.jsp"/>
> </action>
>
> </action-mappings>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>