A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
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.
I agree. Here's the link:
subject: classCast Exception in Action class
Empty Action Form
Perform the Same Action "with" and "without" a Form
bean not found within request scope, but session scope
popup window loses variable
Will the setters be called
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014