Lookup a web page info automatically

Hi everyone,
Is there a way to have a java program lookup information from a web page automatically ?.. (ie: instead of doing it by hand through the browser)
1) it needs to login
2) it needs to pass criteria to a search field
3) it needs to read the results.
The web page is from an independent service site.
eg: product warehouse site
1) login
2) search an item
3) lookup the price qnd qantity in stock
Thank you for any feedback.

Take a look at the Apache HTTPClient. If you click on the download link, the zip file contains some samples that can do what you are looking for.
http://jakarta.apache.org/commons/httpclient/
It is an API that can do all of this prebuilt. You could also do it with the URL class but you would have to write a lot more code.

Similar Messages

  • How can I prevent web pages from automatically reloading, such as The Druge Report, etc.

    Several web sites I frequent automatically reload their front page whenever they want to...not when I manually refresh...interrupting streaming videos, etc. I do not want these pages to do this, only I want the ability to manually refresh a web page.

    Yes, many sites need JavaScript to be enabled to work properly.<br /><br />
    This site will most likely not work and in the Knowledge Base you see the content for all Firefox versions and platforms.<br />
    So you shouldn't disable JavaScript globally, but you can do that selectively on a specific tab or based on websites.
    *Content Preferences: https://addons.mozilla.org/firefox/addon/4066
    You can block and allow scripts selectively for websites with an extension like NoScript or YesScript.
    *NoScript: https://addons.mozilla.org/firefox/addon/noscript/
    *YesScript: https://addons.mozilla.org/firefox/addon/yesscript/

  • Copy & paste web page info

    i somewhat new to coldfusion and i can't figure out how to do something..
    lets say there is a web page with these texts
    hi abc bye
    hi 123 bye
    hi a1b2 c3 bye
    i want to create a page that will go to a specific web page and search throught that web page for the word hi and then grab the following text up to the word bye... then it'll place those text in a file... so for example it'll copy only the text
    abc
    123
    a1b2 c3
    ...and paste them in a file
    is this possible??
    can someone please point me in the right direction, i been at this for almost two days!
    thanks in advance.

    cfquery_select_name wrote:
    i want to create a page that will go to a specific web page
    So you want to make an HTTP request for a web page, that would be the purpose of the <CFHTTP....> Tag.
    cfquery_select_name wrote:
     search throught that web page
    Then you want to find text in the content returned from the request.  the find() and refind() functions (most likely the later) would be helpful here.
    cfquery_select_name wrote:
     ...and paste them in a file
    Finaly you would like to write output to a file.  The <cffile action="write"...> would be the first choice for this task.
    That just leaves the actual searching.  Like I said I would probably try a REFIND that uses regular expression syntax to find the desired text.  Something like this untested example off the top of my head should get you started.
    <cfset match = refind(searchString,"hi(.*?)bye",1,true)>
    <cfdump var="#match#">
    Then finally a loop over this code to find each instance of the desired string.
    cfquery_select_name wrote:
     is this possible??
    Quite possible, it should just take some trail and error and looking at the appropiate documentation.

  • Web page opens automatically every time I log in to ask me why I uninstalled their program

    I was a member of the Nielson Digital voice program and had their software installed on my laptop, it kept crashing and I had to uninstall it and re install it every time I tried to use it so I uninstalled it. Now every time I log onto my computer and open the browser, their web page questionnaire opens in a new tab to ask me why I uninstalled their software. How do I make this STOP? I have answered it twice and it still keeps coming back.

    I was a member of the Nielson Digital voice program and had their software installed on my laptop, it kept crashing and I had to uninstall it and re install it every time I tried to use it so I uninstalled it. Now every time I log onto my computer and open the browser, their web page questionnaire opens in a new tab to ask me why I uninstalled their software. How do I make this STOP? I have answered it twice and it still keeps coming back.

  • ITunes download web page info missing

    I recently downloaded the american version of itunes v6 by mistake. I also bought an Australian itunes music card which doesn't work on the american system. When I click on apples free Australian "itunes download" page, the actual "download now" button and surrounding information is not there? It all appears on my work pc but not my G5 or my G4 laptop?
    dual 2.3 g5   Mac OS X (10.3.8)  

    If I'm correct, you're not connected to the Australian iTMS.
    When you choose the Music store in iTunes, you normally will see the home page. If not, click on the little 'house' icon, just above the page.
    Once on the home page of the iTMS, scroll down to the bottom.
    At the middle of the page you will see 'Choose Country:'
    Once connected to the correct country, sign in using your ID and Password.
    You should now be able to use your iTunes Music Card.
    M

  • After installing office2007 icons of saved web pages disappeared automatically

    and this problem continues

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

  • How to stop closed web pages from reloading into a new tab?

    Web pages reload automatically, creating multiple copies of the same page. This happens on news sites (e.g., the Guardian). The page will even reopen after being closed.
    Suggestions THAT DO NOT WORK:
    1) Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    2) GreaseMonkey and its ridiculous scripts that are badly documented and problematic to have work.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I am unable to print web site info from Firefox. Other prt'g works ok.

    I am unable to print web page info in firefox. Other printing works normally (i.e., from word processors, notepad, etc.).
    == This happened ==
    Every time Firefox opened
    == Not sure

    Unable to print web site info from Firefox to HP 2600. Printer icon appears but nothing prints. Printer has worked previously with Firefox. Still works for Office documents, etc. so computer is communicating with printer, but not from Firefox.

  • Searching web pages

    Since updating to IOS 7.1 everytime I try to search for a web page it automatically goes to itunes store. If I do manage to get to the web page it only stays there for a few seconds and then goes to itunes store. Don't know if it is a setting on the ipad or what is happening. Even if I bookmark the page when I try to open it the screen goes to itunes. Help

    Go to Settings>Safari>Clear History, Cookies and Data.
    Now close Safari. In order to close apps in iOS 7, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Next, reset the iPad. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Web page refreshes but loses page position

    When reading a web page in Firefox 13.01, the web page may automatically refresh. When it does so it returns to the top of the page, not to where I was reading. I find Chrome does return to where I was reading, but not Firefox. How can I set Firefox so it returns to the place where I was reading?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u '''Use hardware acceleration when available''']. All these settings/options/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme, option or hardware acceleration is causing issues. Disabling/enabling hardware acceleration, and some types of add-ons in normal mode may require a Firefox restart.
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • Automatically load web page when select topic

    I've been able to perform this functionality in RoboHelp (winhelp), but have not yet figured out how to do this in RoboHTML.
    Upon topic load I would like a web page to display within the topic pane. In RoboHelp, I did this by creating a html jump from the topic heading. It looked like this:
    JumpHtml(`http://www.cerner.com')
    Does anyone know how to do this in RoboHTML? It doesn't seem that I'm able to format the topic heading to automatically load a web page when the topic loads.

    Hi there
    Configure the topic as a redirect.
    Check out my Tips and Tricks file for info on how to redirect.
    http://www.robowizard.com
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How can I get a song to play automatically on a web page ?     iWeb 1.1.2

    Can I get a song to play automatically when my web page opens? iWeb 1.1.2

    As long as you don't mind doing a little post publish editing of your .js files, it's fairly easy to do. You will find them in this path on your iDisk, using the Go menu in Finder:
    Go/iDisk/MyiDisk/Sites/iWeb/Nameofsitefolder/Page_filesFolder/Page.js
    Open the .js files for that particular page on your iDisk with any text editor (I like Taco, and it's free) and make the following changes to the script code that controls your movie: (you will find the movie code near the top of the page in the .js file)
    Change autoplay="false" to autoplay="true"
    Change loop="false" to loop="true"
    Changing controller value="true" to controller value="false" will remove the controller from the page entirely. Make these changes in both sets of tags, (object and embed).
    Make the changes and just "Save". Clear your browser cache and you should see the changes take effect immediately. Bear in mind you will have to make this modification each time you republish your site. You can also save this modified .js file and replace the republished file with it, as long as no other changes were made to the page in iWeb.
    -Mark

  • How can I to return to the same position on a web page where I left it, rather than automatically getting returned to the top of the page?

    It's annoying to keep returning automatically to the top of a web page that I often navigate away from--eg, Google News--rather than to the position I was at when I left it. I've looking over the Firefox settings and can't find where the default can be changed.

    Try holding down the ALT key while you hit the left arrow key.
    But in some cases, the webmaster may have configured the page to load from the beginning again. There's not much you can do about that unfortunately.

  • How can i get Firefox to change all the printable info on a web page print to black, so i can see the printout?

    Firefox correctly changes the print background to white, but leaves the colored info as it was on the web page. My monochrome printer uses Grey Scale to interpret the colors, but most colors are interpreted with so dimly that they cannot be seen on the printout.
    I am running Firefox 3.6.10 with Ubuntu Firefox Modifications 0.9rc2 and the OS is Ubuntu 10.04. I have disabled the Ubuntu Firefox Modifications Extension, but the results are the same.
    Thank You for your help!
    Chazbo

    Does Firefox offer to store a new password if you remove the old password?
    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"

  • When I click on a hyperlink it automatically opens it up in a PDF or in Adobe Acrobat Reader. How do I change my settings back to normal so when I click on the link it opens it up in a new web page?

    When I click on a hyperlink it automatically opens it up in a PDF or Adobe Acrobat. How do I change my settings so that when I click on a link it opens it up in a new web page like it is supposed to?

    Install this Add-on: https://addons.mozilla.org/en-US/firefox/addon/open-link-in-new-tab/

Maybe you are looking for