aspose file tools*
The moose likes Struts and the fly likes SEVERE: No action instance for path /xxxx ould be created  java.lang.ClassCastExcepti Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "SEVERE: No action instance for path /xxxx ould be created  java.lang.ClassCastExcepti" Watch "SEVERE: No action instance for path /xxxx ould be created  java.lang.ClassCastExcepti" New topic
Author

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

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
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

Joined: May 26, 2003
Posts: 31079
    
163

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
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.


Milan.<br />I can because I think I can...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SEVERE: No action instance for path /xxxx ould be created java.lang.ClassCastExcepti