Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: how can I get my program to enter data on a website?

  1. #1
    Member
    Join Date
    Oct 2012
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post

    Default how can I get my program to enter data on a website?

    Hey guys,
    I am making like a app for class as extra credit. Its like a recipe app where the user types in what ingredients they have and then the app will return a list of recipes that you can make. I found a website that does this and I am wondering how I can go about getting the program to type the info in that site and return the results? here's the link Allrecipes - Search

    would this be to difficult to do? I dont need like a 100% working program just want to make a example of what it can be for class.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,067
    Thanks
    47
    Thanked 2,146 Times in 2,119 Posts

    Default Re: how can I get my program to enter data on a website?

    Are you thinking to write a "browser" replacement program that will send a request to the site, read the HTML from the site, fill in the fields in the form in the HTML and send a response to the server and then read what the server returns?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Oct 2012
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post

    Default Re: how can I get my program to enter data on a website?

    yes basically that, but seems like would take to much time. I might just do an easier way, like have the user select what he has from a list and show a recipe that i coded into the program. The group project is to make a kickstart for some idea and for extra credit you can create it. If the "browser" replacement way would not be to hard/ take a lot of time Ill do it that way since its closer to what the real app would do, but I much rather go the easier way since I don't have much time to finish this.
    Thanks

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,067
    Thanks
    47
    Thanked 2,146 Times in 2,119 Posts

    Default Re: how can I get my program to enter data on a website?

    A standalone program (no web site) would be easier.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member
    Join Date
    Oct 2012
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post

    Default Re: how can I get my program to enter data on a website?

    ok thanks ill do that

Similar Threads

  1. Program that will retrieve information from website.
    By minaru in forum Java Theory & Questions
    Replies: 2
    Last Post: December 18th, 2010, 04:50 PM
  2. Replies: 1
    Last Post: December 17th, 2010, 05:45 AM
  3. Pulling Data from Website
    By aussiemcgr in forum Java Theory & Questions
    Replies: 0
    Last Post: August 20th, 2010, 08:42 AM
  4. How to get data from a third party website
    By Duff in forum Java Theory & Questions
    Replies: 2
    Last Post: February 6th, 2010, 03:24 PM
  5. How to make user press enter to continue in program?
    By BC2210 in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: October 3rd, 2009, 05:08 AM