hai freinds,

i am using jsp in which i invoke javabean which invokes sessionbean which invokes entity for database insertion . when i submit the data from jsp , because a already exists
in the database i have to redirect to the jsp page . when this time page is downloading it gives:
 
classcastexception and can't instantiate the class: the name of javabean i.e the error comes in line ->

<jsp:useBean id="one" class="pack1.javabean1" />

i put my javabean class in c:\weblogic\myserver\servletclasses and jsp files in
c:\weblogic\myserver\public_html

with regards
k.ramakrishna