A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
classCast Exception in Action class
Joined: Jan 15, 2006
Feb 14, 2006 02:45:00
I have populated a form bean with a object which contains a object of my class.In form bean,i have a method which returns this object. Return type of this method is java.lang.Object.
In action class, when i tried to type cast the value retrieved from form bean to the object of my classType, I am getting classcastException.
Please let me know, if any body know what is the issue.
Thanks in advance.
subject: classCast Exception in Action class
bean not found within request scope, but session scope
Perform the Same Action "with" and "without" a Form
Empty Action Form
Will the setters be called
popup window loses variable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014