Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.ClassCastException

843836Apr 1 2005 — edited Apr 1 2005
i have 2 frames.
f1 and f2
f2 has a countdown timer in javascript.
after the timer hits 0, i set a url in session variable to get new page in f1 which is "ques2.jsp".
and i have to open the main page 'questimer.jsp' which is the page containing 2 frames.
so i used parent.location.href="questimer.jsp"

the session var setting "ques2.jsp" is being set properly but i am getting exception.

the root cause is :

java.lang.ClassCastException which is


java.lang.ClassCastException
at org.apache.jsp.ques2_jsp._jspService(ques2_jsp.java:71)
at org.apache.jasper.runtime.HttpJspBase.service

please help me out..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 29 2005
Added on Apr 1 2005
3 comments
62 views