View Feed
group-icon
Java Developers
Community of Java Developers: Get Java Programming Help from fellow Java Developers across the world.
650 Members
Join this group to post and comment.
kunaljd
kunaljd • Jan 3, 2011

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

i have serached on google but i was enable to find answer to this exception. please help!!😕
Kaustubh Katdare
Kaustubh Katdare • 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 • Jan 4, 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 • Jan 5, 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

Share this content on your social channels -