aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to communicate with servlets from Swing... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to communicate with servlets from Swing..." Watch "How to communicate with servlets from Swing..." New topic
Author

How to communicate with servlets from Swing...

Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Is it possible for a swing client to get a hashmap from a servlet. If so how to do that, can anyone help me on this. I am calling a servlet from a swing class, I need to get a hashmap from the servlet.

Ananth


Ananth Chellathurai [Walk on software]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

Originally posted by Ananth Chellathurai:
Is it possible for a swing client to get a hashmap from a servlet. If so how to do that, can anyone help me on this. I am calling a servlet from a swing class, I need to get a hashmap from the servlet.

Ananth


You can definitely pass objects (serialized) to and from Servlets.
Check out this example


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Thanks for the reply, Will try this out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to communicate with servlets from Swing...