-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: serializable objects throw servlet
PostPosted: Mon Oct 10, 2005 7:57 pm 
Newbie

Joined: Sun Oct 09, 2005 11:34 pm
Posts: 6
im using a servlet that response with a serializable object using an Outputstream, my question is: what content type do i have tu use, beacuse im gettin a

java.lang.ClassNotFoundException: org.hibernate.proxy.SerializableProxy

actually im setting the content type like this:

response.setContentType("application/x-java-serialized-object");

im in the right way? or maybe the exception is for another reason.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 10, 2005 10:34 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
content type has everything to do with HTTP and nothing to do with the fact that a process on one end of the communication is missing a library.


Top
 Profile  
 
 Post subject: requirements
PostPosted: Tue Oct 11, 2005 5:50 pm 
Newbie

Joined: Sun Oct 09, 2005 11:34 pm
Posts: 6
but, what does an object need to be passed by serialization between and applet and a servlet


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 11, 2005 5:54 pm 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
serialize it, encode it and pass it w/ SOAP.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.