java.lang.ClassCastException: org.apache.struts.action.RequestProcessor exception??

kunaljd

kunaljd

@kunaljd-worvpG Oct 23, 2024
i have serached on google but i was enable to find answer to this exception. please help!!😕

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Jan 3, 2011

    Re: java.lang.ClassCastException: org.apache.struts.action.RequestProcessor exceptio

    kunaljd
    i have serached on google but i was enable to find answer to this exception. please help!!😕
    What exactly is causing this error to appear? Is it possible for you to share part of the code that could be the origin of this message?
  • kunaljd

    kunaljd

    @kunaljd-worvpG Jan 3, 2011

    Re: java.lang.ClassCastException: org.apache.struts.action.RequestProcessor exceptio

    i am using struts and i have uploaded all the class files.when particular button is clicked. it is supposed to find right java class but server is giving this exception?

    p.s. cant give away code.its confidential. sorry.
  • sookie

    sookie

    @sookie-T06sFW Jan 4, 2011

    Re: java.lang.ClassCastException: org.apache.struts.action.RequestProcessor exceptio

    @kunaljd Its bit difficult to figure out the problem without code . When you submit the page [or hit any submit button] then RequestProcessor.process() method is invoked which ultimately checks for the action mapping in struts-config.xml but before that only I guess this exception might be happening. The problem may be in your configuration files because of which the Servlet class your submit button invokes is different from that mentioned in configuration files. Confirm once if the classes and mappings are correct everywhere. It is not related to missing jars or .class files.

    Better if you can share the code. Just replace the confidential content with garbage values.

    -sookie