Invoke servlet from java class
posted 11 years ago
Take a look at HttpURLConnection and URL classes. They're what you want (you may also want Runnable and Thread to avoid long waits in your program while the network connection is open).
Author and all-around good cowpoke