Thank for reply.
I'm sure that TestBean is visible in the class and jsp, because if write a
TestBean manually and add a comment at this line
testbean = (TestBean) in.readObject();
after return of testbean all works fine. Is this line that launch Exception
during the cast, but i don't have an
Hi, Why in tomcat this code launch a ClassNotFoundException ?
byte[] serialized= rs.getBytes("test");
ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream(
serialized ) );
testbean = (TestBean) in.readObject();
The bold line launch the exception and the cla
Hi, Why in tomcat this code launch a ClassNotFoundException ?
byte[] serialized= rs.getBytes("test");
ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream(
serialized ) );
testbean = (TestBean) in.readObject();
The bold line launch the exception and the cla