Results 1 to 3 of 3
Thread: applet and jar http post help
- 12-19-2011, 11:06 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 34
- Rep Power
- 0
applet and jar http post help
I am making a plugin for the ever so popular game, Minecraft. I have a webpage with an applet on it, that needs to get data from a jar file. For API purposes, I wanted them to communicate over HTTP POSTS. for example, The webpage is being viewed, so the applet sends a connection post the the jar, to let it know it is in use, the use logs in, so the applet sends the username and password over to the jar and the jar returns back a Boolean. The jar will need to send feeds of text and it needs to know which to send them to.
I hope this is not too complicated. Perhaps if you can simply show me how to send and receive post data, that would be great.
- 12-19-2011, 11:53 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,604
- Rep Power
- 5
Re: applet and jar http post help
The following article has code snippets and descriptions of how to send http POST requests
Reading from and Writing to a URLConnection (The Java™ Tutorials > Custom Networking > Working with URLs)
- 12-19-2011, 11:53 PM #3
Member
- Join Date
- Dec 2011
- Posts
- 34
- Rep Power
- 0
Similar Threads
-
http post
By cino in forum Advanced JavaReplies: 8Last Post: 06-13-2011, 04:08 PM -
HTTP POST over sockets
By DC200 in forum NetworkingReplies: 2Last Post: 09-19-2010, 03:00 PM -
HTTP Post
By erics44 in forum New To JavaReplies: 0Last Post: 03-22-2010, 01:01 PM -
No location on http post
By malandro95 in forum Advanced JavaReplies: 2Last Post: 03-09-2010, 02:49 PM -
SOAP over HTTP/POST
By sabatier in forum NetBeansReplies: 0Last Post: 07-10-2007, 08:04 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks