aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Send object from applet to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Send object from applet to servlet" Watch "Send object from applet to servlet" New topic
Author

Send object from applet to servlet

Daia Yum
Greenhorn

Joined: Mar 23, 2009
Posts: 19
I have an object created in applet. And I want to send this object to a servlet. The applet and servlet codes is given below...
There is no exception, but the servlet code is not executed.





Daia
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

I believe that you need to call getResponseCode() or getInputStream() before the request is actually sent. You can ignore the return values.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Daia Yum
Greenhorn

Joined: Mar 23, 2009
Posts: 19
I dont know how to thank you. But now I'm in the servlet I am getting my Document object. Thanks a lot...
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

Daia Yum wrote:I dont know how to thank you. [snip] Thanks a lot...

Well, that's how And you're welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send object from applet to servlet