Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call servlet and get back the response....?

 
Siddharth Ramavat
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i am trying to call the servlet with URL object from the frame and passing two parameter the username and password with it....

The servlet has been called and the authentication has been made successfully. now i have put a boolean flag at servlet side, which sets true if the username and password is correct otherwise it sets to false....

After successfull execution of the servlet i want to pass the value of flag back to the frame.....

is it possible to do so....?

help me regarding the same.....

thank you
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean "URL object from frame"?

Are you using client-side scripting to make HTTP requests?
 
Siddharth Ramavat
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of Thanks for the reply,

Yes, i am doing the client-server chat application and my client side presentation is the stand-alone application made in JAVA SWING. So, I want to communicate with the servlet without opening the browser?

How can i do this..?

Thank You,
Siddharth Ramavat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic