Passing custom Objects from applet to servlet
问题 I have a servlet and i want to pass through UrlConnection some objects. When I tested it, it worked fine. When I passed Java native objects ( String , File ..). But when I try to pass my own Object (instance of my own Class), Object is sent into Servlet correctly via ObjectOutputStream but when I wanted to restore object in servlet side it doesn't work. it throws exceptions that My class was not found. I have MyObject class in project with applet where is loaded and sent to servlet and then i