OK, that's good. Does com.team2media.controller.SaveApplicatonAction extend org.apache.struts.action.Action? If it doesn't, it would probably cause this error.
If that isn't the problem, I'm not sure. Hopefully, someone else will be able to help. Jay On Thu, 7 Feb 2002, Joe Latty wrote: > Yes my web.xml is exactly the same as yours. All my other action mappings > are working fine... (I included the contact mapping that is working > perfectly). > > -----Original Message----- > From: Jay sissom [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 7 February 2002 1:03 PM > To: Struts Users Mailing List > Subject: Re: No instance for path > > 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]> > > > -- > 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]>

