Results 1 to 7 of 7
  1. #1
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default how to post data to a website using java

    Hi
    I want to write a java application that automatically posts data to a web page (the page has a text field and a submit button) how can I do that using java.
    and In case it was not possible can I create a web page in JSP and post data to it using a java application ?
    Any hints, notes, reviews are highly appreciated.
    Anderson.
    Best Regards.

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    HttpURLConnection. Google a bit, there are plenty of examples.

  3. #3
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default

    Thank you very very much.
    Best Regards.
    Anderson.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  5. #5
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default

    yes, i want to make some kind of automatic poster.
    Best Regards.
    Anderson.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default

    :eek: It wants to spam the forums


    ;)

  7. #7
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default

    No donot get me wrong, i want to trasfer data from the parallel port to the website periodically, thatz why i also asked for JSP pages because i am working on both sides, the client and the server

    Regards.
    Anderson.
    Last edited by mr_anderson; 11-12-2010 at 11:57 AM.

Similar Threads

  1. How to download data from a website.
    By bobrenjc93 in forum Java Applets
    Replies: 2
    Last Post: 05-15-2009, 07:08 AM
  2. Replies: 3
    Last Post: 05-04-2009, 03:15 AM
  3. How to download website (Get all link in website)
    By finalmem in forum Advanced Java
    Replies: 0
    Last Post: 11-12-2008, 08:43 AM
  4. Replies: 4
    Last Post: 10-15-2008, 01:59 PM
  5. Kode Java Website
    By wsaryada in forum Reviews / Advertising
    Replies: 4
    Last Post: 01-18-2008, 09:16 PM

Posting Permissions

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