i has written a javabean which invokes the sessionbean and which invokes entity bean for database access.i am using this javabean in a jsp page.in my jsp page i am instantiating this bean and do the clientside validations and on successfully insertion/not success i am redirecting to the jsp page where this javabean is being invoked. this time when the page is downloading it is giving errors like this:

i had put my javabean in c:\weblogic\myserver\servletclasses folder

the error is:
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: init
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param verbose initialized to: true
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param packagePrefix initialized to: jsp_servlet
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param compileCommand initialized to: c:/jdk1.2.2/bin/javac.exe
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param srcCompiler initialized to weblogic.jspc
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param superclass initialized to null
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param workingDir initialized to: C:\weblogic\myserver\classfiles
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: param pageCheckSeconds initialized to: 1
Sat Dec 02 11:03:25 GMT+11:00 2000:<I> <ServletContext-General> *.jsp: initialization complete
Sat Dec 02 11:03:31 GMT+11:00 2000:<I> <ServletContext-General> Generated java file: C:\weblogic\myserver\classfiles\jsp_servlet\_radiocheck40.java
Sat Dec 02 11:03:34 GMT+11:00 2000:<I> <ServletContext-General> Generated java file: C:\weblogic\myserver\classfiles\jsp_servlet\_form_95_error.java
Sat Dec 02 11:03:37 GMT+11:00 2000:<E> <ServletContext-General> Servlet failed with Exception
java.lang.ClassCastException
at jsp_servlet._form_95_demo._jspService(_form_95_demo.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: cannot instantiate 'FormDemo2.Display' - with nested exception:
[java.lang.ClassCastException]
at jsp_servlet._form_95_demo._jspService(_form_95_demo.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Sat Dec 02 11:03:38 GMT+11:00 2000:<I> <ServletContext-General> servletimages: init

with regards
k.ramakrishna