Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to communicate with servlets from Swing...  RSS feed

 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply, Will try this out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!