Search the web

I am a java starter. Could anyone give me some clue as to how to accomplish the following. Thank you very much for your help.
1.Write a routine that will submit a search term (in this case, the name of your famous person) to the search engine Google and get up to 1000 web pages that contain this term.
2.Write a routine that will visit a web address and scan each individual sentence. You should remember each occurrence of a sentence that contains both he word born, and a four digit number that is greater than 1500, yet less than the current year.

Go to this tutorial:
http://java.sun.com/docs/books/tutorial/post1.0/converting/convertingIO.html
The above java tutorial even gives example code for reading in a web page.
You could then search each html line using the "regionMatches" method in the String class to look for your search terms.
I did a similar program (submitting search terms and then searching the resulting html code for key words) this way.
Robert

Similar Messages

  • Hello  I don't know who to complain to as you do not appear to have a complaints department, despite searching the web, I trust you can pass this to relevant department for action, as I'm very angry over my recent repair.  Following my issue relating to a

    Hello
    I don't know who to complain to as you do not appear to have a complaints department, despite searching the web, I trust you can pass this to relevant department for action, as I'm very angry over my recent repair.
    Following my issue relating to a blank screen 2 weeks ago, your advisor arranged for my iMac to collected by Amsys, for repair and return, this was done and it was returned to me last Tuesday, onWednesday I set up my iMac again and instantly realised I had problems, much worse than before. I called Amsys to inform them of the issue of the computer being very very slow and unable to open iPhoto and pages, and document listing would not show up, plus I had no sound on the mac.They informed me that they had only replaced the video card and what they had done would have not affected the computers performance. He suggested I reinstall OSX again which I did, but this made no difference to the programs, so I called you.
    Your technician on the phone was very good as they have always been, and made an appointment for me to go into the Milton Keynes Apple store the next day at 1 pm, which I did.
    The gentleman on the Genius Bar was very good and was able to run tests on the iMac in my presence, and diagnosed immediately an issue with the sound problem, and advised me that this could not be fixed while I wait and I would need to leave it for repair. I made him aware of the previous repair, and he was able to see via your system, the list of logged issues I have had with this since purchasing in September 2012. I'm sure you can see from the way you record all calls and issues the problems I have had.
    Today I called to ask if my iMac would soon be ready for collection, I was told the repairs had been completed and it was being tested. However to my dismay, I learned of another serious issue relating to the repair carried out by Amsys. I was informed that 6 screws were missing from the the iMac internally, which caused me much distress and concern, they also told me I had to wait even longer as the screws had to be ordered and installed on arrival before I could collect it.
    My issues here are: I trusted the Amsys repairer as it was arranged and recommend by you, it is very evident they are not competent to repair, as they have caused more problems with my iMac on its return, despite enclosing a checklist, fully ticked showing everything working well, it clearly wasn't ! Plus the issue of missing parts (screws) during the repair, I have already expressed my disgust with Amsys, by email and had a response, within the hour, apologising and told me they were looking into this.
    This where I stand on this, I have not had my iMac for  almost two weeks and I do not know when I will get it back. I'm also very worried about what other damage has been caused by Amsys and the quality of my iMac now. I want to know what you, Apple is going to do about this ? I have already been very inconvenienced by this and until now I have been a very loyal apple customer with 2 iPads, and 4 iPhones in our household, not to mention the iMac.
    I feel I have been very let down by this experience, on my iMac, which cost a lot of money, I have also lost a lot of money with lost work and unable to carry out my business without it, and I will be seeking compensation.
    I trust you will take this complaint seriously and pass it to the relevant department for action.
    Yours sincerely
    Des Withey 
    Sent from my iPad
    On 26 Feb 2014, at 11:44, Apple Support <[email protected]> wrote:
    Thanks for contacting us.
    Thanks for contacting Apple Support. If you need more help later, you can open the case below or start a new support request online.
    Case ID:
    Open this case
    Sincerely,
    Apple Support
    Get help online
    Visit Apple Support to learn more about your product, download software updates, and much more.
    Join the conversation
    Find and share solutions with Apple users around the world.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM, Cupertino, CA 95014.
    All Rights Reserved / Privacy Policy / Apple Support / Give us feedback
    On behalf of Apple Distribution International

    Call Apple Customer Relations - 1-800-275-2273.  Ask politely & firmly that you want to be transferred to Customer Relations.  Tell them exactly what you stated in your post.
    GOOD LUCK!
    These are user-to-user forums where everyday folk (volunteers) post questions and offer answers (technical support) to each other.  

  • I would like to add to the Safari toolbar on my ipad 5 IOS 6  machine. I have searched the web and find some instructions to do this but the words and pictures do not match what I can see. I am beginning to think this is not a capabilty of the ipad 5

    I would like to add to the Safari toolbar on my ipad 5 IOS 6  machine. I have searched the web and find some instructions to do this but the words and pictures do not match what I can see. I am beginning to think this is not a capabilty of the ipad 5 but perhaps for a Mac computer running Safari. Does anyone know if it is possible to add tools to the toolbar on the latest version of iPad OS & Safari Browser? If so please tell me how. Thanks

    You cannot customize the Safari toolbar on the iPad.
    What you can do on the iPad is go to Settings>Safari>Always show Bookmarks Bar>On and that will add a bookmarks bar on to the Safari browser.

  • Help reqd for searching the web

    Hi
    The code which i have written to search the web
    ctx_ddl.create_preference('my_url','URL_DATASTORE');
    ctx_ddl.set_attribute('my_url','HTTP_PROXY','www-proxy.us.oracle.com');
    ctx_ddl.set_attribute('my_url','NO_PROXY','us.oracle.com');
    ctx_ddl.set_attribute('my_url','Timeout','300');
    create table urls(id number primary key, docs varchar2(2000));
    create index datastores_text on urls ( docs )
    indextype is ctxsys.context parameters ( 'Datastore my_url' ); I made a small change in the table inserted like this
    insert into urls values(111555,'http://www.oracle.com')
    When i recreated the index I got the error like this
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    ORA-00600: internal error code, arguments: [kghfrf1], [0x0], [], [], [], [],
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    When i checked the ctx_user_index_errors table i didnt get much info.
    My qn. is
    1. What is the problem is there any more setting should i use (using Oracle 9i AS)
    1. And if i want search only in Html section of the domain where should set the path.
    2. If i put a html section group and filter <h1>, will this be a problem in searching
    documents.
    Thanx
    K P Hari

    Not a direct answer to your problem I know, but I noticed you posted a few days ago asking whether there was a crawler available. I would suggest you check out Oracle UltraSearch to see if it will meet your needs better than creating an index like you are doing. I think you'll be pleasantly surprised at how easy the setup is!

  • Search the Web box to the right of my address bar disappeared, how do I get it back?

    The "Search the Web box to the right of my address bar disappeared. How do I get it back?

    It is gone in the new version of Safari and the Safari in Mountain Lion. You cannot get it back.
    Search is now done inside the adress bar, so you did not lose the search functionally. The location has changed.

  • Since Monday, Firefox times out when I search the web and I have not changed anything with the system.

    I was able to search the web as late as Sunday. But since Monday I am unable to. I have changed nothing. Bookmarks, email, Facebook work. Can search on laptop using the router, so internet connection is fine. The new google search on FB doesn't work either. Nor does searching with Chrome or IE. Have reset Firefox, restarted the computer, restored computer to previous Saturday. All I get when searching is This operation timed out.

    I think you must to a clean re-install, this means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Google App, lost the ability to search the web using voice, any ideas?

    I have Iphone 4 and upgraded to IOS6, in the Google App, I have lost the ability to search the web using voice, any ideas?

    #30 - Deck recognition after Tiger Upgrade:
    Shane's Stock Answer #30:
    http://discussions.apple.com/thread.jspa?messageID=1063600&#1063600
    The credit for this goes to Bob Sidebotham:
    I was just walked through a repair procedure by an Apple Care person, and it fixed my camera recognition problems (I have a Canon XL1 and sometime after installing Tiger, then 10.4.1, various patches (including Quicktime 7.1) and the latest Desktop Video patch, I've been unable to use the camera with Final Cut Express, and attempts to capture would result in a FCE crash).
    The workaround is to download Quicktime manually, after removing the "receipts" which indicate that it is loaded. Specifically, I was told to do the following:
    1. Navigate to Library -> Receipts on your main drive (not from your personal folder).
    2. Remove all files of the form QuickTime*.pkg, where "*" is a version number. E.g. QuickTime600.pkg, QuickTime650.pkg, Quicktime700.pkg and QuickTime701.pkg. This simply tells your system that those packages are not installed.
    3. Go to http://www.apple.com/quicktime/downloads and click on the "download Quicktime" link. DO NOT USE THE AUTOMATIC UPDATE UTILITY. Download QuickTimeInstallerX.dmg. Double click this file (probably on your desktop) and then invoke the installer by double clicking QuickTime701.pkg.
    4. After your computer reboots, you should be able to restart FCP and see your camera.
    Shane

  • Spotlight search no longer searches the web?

    Spotlight search was the best in Mavericks - it searched the web. Yosemite no longer searches the web.
    Settings has no spot to add the web search.
    I have to open Safari to do a web search - good grief.
    It was temporarily removed from iOS7 and restored after popular demand.
    I hope this happens with Yosemite. Please.

    After searching help on spotlight and clicking on show me Bing search in preferences, the addition preferences showed up and the web searches began happening. The preferences did not go all the way to 21 when I first looked at them and scrolled down. The web search was definitely not included because so few results were returned as opposed to the identical search now. I'm not sure why the preferences for Bing search were omitted when I first review preferences prior to doing the search of help.
    It appears to now be searching the web and have the ability to include web searches optionally.

  • Forcing spotlight to search the web

    Is there a way to force spotlight to search the web. In other words, I'd like to force spotlight to send my search query to bing directly.
    Any ideas?

    No, it's not OK. Not quite. Almost OK.
    But if that's your skill level, you don't have a hope in hell of writing a program to search the Internet for anything at all. Not yet.

  • Firefox start page no longer opens first: "iminent search the web" opens and I can't get rid of it.

    IMBooster, also known as Iminent, and "Iminent Search the Web", has taken over my start-up page. I have tried everything to delete and uninstall all aspects of this unwanted application. It no longer appears anywhere in my computer, but it still opens my Firefox page instead of Google.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Why does Siri always give me Jillian Ye when searching the web?

    I have enjoyed using Siri on my new iPhone 5. However, anytime Siri asks me if I would like her to search the web for something she always comes back with the contact information for a Jillian Ye. I have yet to actually have her truly search the web. Is this normal? If not, how can I get it to cha

    If you are still having problems you want to look at this conversation....
    Still not managed to sort it out when you ask Siri to do a search for something when it asks you... "do you want me to search the web for...".... "It comes back with a non helpful response of... "I thought so"
    I am sure that its the way you ask it.... Didn't used to be like this... I think it may have been a update. Very anoying https://discussions.apple.com/message/20201974#20201974
    https://discussions.apple.com/message/20201974#20201974

  • I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    Firefox does not have a built-in "Run" option on downloads for security reasons. If you "Run" an item, your anti-virus/anti-spyware may not have an opportunity to fully examine the contents until it is already installed on your hard drive. Result: damage, if infected, is already installed on your system.
    With that in mind, you can install the following add-on, but you accept the risk mentioned above ('''NOTE:''' the developer has not updated this product -- OR any of his other 7 extensions -- to be compatible beyond Firefox 3.6.x; therefore, when you upgrade to a more current version of Firefox, you may lose the functionality of the add-on if the developer does not update it.):
    *https://addons.mozilla.org/en-US/firefox/addon/opendownload/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • My safari has no search the web box??

    My safari doesn't have the https box anymore? So, when I open safari I can't search the web because there is no box for me to put the info in??

    Welcome to the Apple Support Communities
    First, make sure that the toolbar is shown, so go to View > Show Toolbar. If it doesn't work, go to View > Customize Toolbar and drag the URL bar to its toolbar

  • I want google as my search engine, not Bing. How do I make Google the default search engine in the "Search the Web" feature of the search bar; or, how do I remove the "Search the Web" feature of the search bar so that "Google" can be default?

    I want google as my search engine, not Bing. But no matter what I do in "Manage Search Engines," Firefox seems to reset to "Search the Web," which uses Bing.
    How do I make Google the default search engine in the "Search the Web" feature of the search bar; or, how do I remove the "Search the Web" feature of the search bar so that "Google" can be default? When I move "Search the Web" down and "Google" up, the search bar resets every time Firefox reloads.

    Sometime Bing is not located in the Add/Remove programs section of the control panel.
    6 Easy Steps to Remove Bing from Mozilla Firefox:
    1. Click on the "inverted triangle" located to the right of the orange Bing icon.
    2. Select the option "Manage Search Engines...". (A pop-up window will appear titled "Manage Search Engine List.)
    3. Select "Bing".
    4. Click the "Remove" button.
    5. Select the desired search engine from the list.
    6. Click "OK"
    All Done.... :-)
    Happy Searching...
    Long version: https://support.mozilla.com/en-US/kb/Search%20bar?s=bing&as=s

  • There is no search the web and windows bar on taskbar

    I am unable to find search the web and windows wide bar on task bar and also looking for new voice search option on taskbar. instead of this there is a simple search icon on task bar .
    help me to find the new search feature. thanks

    Ehtisham, right click taskbar, under search there are 3 options, disable, show search icon, show search box, also if the taskbar shows a magnifying glass, right click to configure., after configuration the magnifying glass will change to a circle, right
    click circle and configure Cortana.
    Good Luck.

  • HT201285 Why can you no longer search the web from the spotlight search bar?

    I just upgraded to iOS.7 and the spotlight search no longer searches the web. Why would that be?

    Rubies over wrote:
    Why would that be?
    Ask Apple.  Nobody here would know.

Maybe you are looking for

  • How to install the NI-DAQmx driver on a real time target PC?

    Hi, I'm painful about how I can install a PCI-6363 DAQmx on my real time desktop PC target. The PCI-6363 is directly connected to the real time PC. And I'm using LabVIEW 2011 and MAX 5.0.  The DAQmx device driver can be seen in software lIst in the h

  • How do you add video clips to an iPhoto slideshow?

    I've made a slideshow for my daughter's graduation. I tried to include a couple of video clips in it, but when the slideshow gets to the first one the screen goes black and the video doesn't play. How do I do this the correct way? I use iPhoto '11

  • Java.lang.RuntimeException: failed to compile execlets (JAVA embeding issue in BPEL 2.0)

    HI i was trying to use java code in BPEL 2.0 by using java Embedding. while deploying the application getting the error. even after importing the corrsponding class below is the code snippet for the same : <import location="oracle.soa.management.faca

  • System should not allow to add line items in delivery

    Hi, 1) system should not allow to add line items in delivery( in reference to sales order or STO) 2) sales order/STO should not be changed if delivery exists how to control the above Alec

  • For table control

    Hi,    While selecting records in table control only one record is selected.    I want to edit mulitple records in table control.   Can anybody gives me suggestions. Regards, Laxmi.