• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic