wood burning stoves 2.0*
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
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: 19651
    
  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: 19651
    
  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
 
Similar Threads
Servlet to Applet communication
servlet/applet communication problem
Post to Servlet from Applet doesn't work
passing a Vector from JSP to an applet
Applet to Servlet