Results 1 to 7 of 7
  1. #1
    sara191186 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default search the content in google

    sir..im doing project using netbeans...i designed the form using swing controls....i want the code to search the content on google search and retrieve and display the links of the searched content on clicking the search button in my form
    Last edited by sara191186; 01-25-2012 at 05:55 PM.

  2. #2
    arielb is offline Member
    Join Date
    Jan 2012
    Location
    Panamá
    Posts
    41
    Rep Power
    0

    Default Re: search the content in google

    can read HttpClient apache

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,300
    Rep Power
    20

    Default Re: search the content in google

    Google doesn't like non-browser hits. I suggest you find another project.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,300
    Rep Power
    20

    Default Re: search the content in google

    And the question has nothing to do with NetBeans, so I'm moving it to New to Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    sara191186 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default Re: search the content in google

    sir..can u send me code to access the content from text field of form and save it in mysql database

  6. #6
    sara191186 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default Re: search the content in google

    thanks sir

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,036
    Rep Power
    20

    Default Re: search the content in google

    Submit form (that's html) to your servlet (that's Java).
    Servlet gets the value of the field attribute and passes it to your database layer.
    That code (probably JDBC) does an INSERT (which is SQL).

    That's the structure, so start with that and if you hit problems then come back with some code and errors we can see.

Similar Threads

  1. Replies: 1
    Last Post: 04-19-2011, 08:52 AM
  2. Replies: 4
    Last Post: 03-24-2011, 11:50 PM
  3. Replies: 0
    Last Post: 02-27-2011, 02:51 PM
  4. Java and Google Search
    By V.J in forum Networking
    Replies: 7
    Last Post: 12-27-2010, 06:19 AM
  5. Replies: 2
    Last Post: 03-18-2009, 08:36 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
  •