This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No action instance for path

 
Derick Aneiba
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am a new to Struts with EJB, i have developed a small Struts app to interact with EJB. one i tested it, the below error comes up, any idea, please help

12:35:05,437 ERROR [RequestProcessor] No action instance for path /stockselect could be created

java.lang.ClassCastException: lum.stock.action.StockAction

Regards

D. Aneiba
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks to me like this may be an error in your struts-config.xml file. Make sure that the /stockselect action is mapped to a class that exists, has a public no-args constructor, and extends org.apache.struts.action.Action.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic