File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Suddenly have a No action instance for path error?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "Suddenly have a No action instance for path error??" Watch "Suddenly have a No action instance for path error??" New topic
Author

Suddenly have a No action instance for path error??

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 329
Im getting the following error No action instance for path /dsubmit could be created

<action name="HtmlForm" parameter="method"
path="/dsubmit" scope="session"
type="com.bean.DeleteDispatchAction" validate="false">
<forward name="dynamic" path="/dedynamic.do"/>
<forward name="staticcategory" path="/destatic.do"/>
<forward name="subcategory" path="/dyndelete.do"/>
</action>

<html:form action="/dsubmit">
<table border="0" width="100%" >
<tr>
<td align="center">
<html:select property="method">

<html ption value="dynamic">Dynamic Category</html ption>
<html ption value="staticcategory">Static Category</html ption>
<html ption value="subcategory">Sub Category</html ption>

</html:select>
Any idea why this is happening
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Is "com.bean.DeleteDispatchAction" is proper fully-qualified classname to your action?
Is com.bean.DeleteDispatchAction in your web application?
Does com.bean.DeleteDispatchAction extend Action or DispatchAction?
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 329
doh forgot to include com.bean.DeleteDispatchAction in my web application. I spent hours trying to figure out what the issue was and it was the most obvious. Thank you for your time
 
IntelliJ Java IDE
 
subject: Suddenly have a No action instance for path error??
 
Threads others viewed
Struts 1.x, 2, jstl questions
Cant get DispatchAction to work
how to fill a combobox with values from objects in an ArrayList...
how to access combo-box value in javascript?
Cannot retrieve definition for form bean null
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com