This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am not sure you can invoke a remote server the way you're intending. A workaround would be to use a URLConnection that will send a request to the servlet and will enable you to get some form of feedback
Joined: Oct 27, 2010
This is exactly the way i did it. Here is the complete code for anyone who wants its