java.lang.ClassCastException
843836Apr 1 2005 — edited Apr 1 2005i 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..