• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SEVERE: No action instance for path /xxxx ould be created java.lang.ClassCastExcepti

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ia doing struts application i receive following error

SEVERE: No action instance for path /admregister could be created
java.lang.ClassCastException: com.sipl.siixt.ts.admin.AdminActionForm



here is my struts-config.xml



[/CODE]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amolpalekar,
When do you get the error? If it is when the struts file is loaded, check that you form class extends ActionForm. If it is when the action is executed, try printing out the stack trace to see where the exception is being thrown.
 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,




[QB]


"AdminActionForm" is action class or actionform ??? ...
I think you are passing actionform in actions type attribute. you should pass action class there.

milan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic