Results 1 to 3 of 3
  1. #1
    jobud9 is offline Member
    Join Date
    Dec 2011
    Posts
    34
    Rep Power
    0

    Question 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.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default Re: applet and jar http post help

    Quote Originally Posted by jobud9 View Post
    Perhaps if you can simply show me how to send and receive post data, that would be great.
    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)

  3. #3
    jobud9 is offline Member
    Join Date
    Dec 2011
    Posts
    34
    Rep Power
    0

Similar Threads

  1. http post
    By cino in forum Advanced Java
    Replies: 8
    Last Post: 06-13-2011, 05:08 PM
  2. HTTP POST over sockets
    By DC200 in forum Networking
    Replies: 2
    Last Post: 09-19-2010, 04:00 PM
  3. HTTP Post
    By erics44 in forum New To Java
    Replies: 0
    Last Post: 03-22-2010, 02:01 PM
  4. No location on http post
    By malandro95 in forum Advanced Java
    Replies: 2
    Last Post: 03-09-2010, 03:49 PM
  5. SOAP over HTTP/POST
    By sabatier in forum NetBeans
    Replies: 0
    Last Post: 07-10-2007, 09:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •