Retrieving content from JavaScript created web tables?

I am developing a simple Java program that is to browse a particular site, follow links and download web page content (which is created dynamically based on day and sports selected) from which data enclosed in <table>....</table> tags is later parsed and used in Excel spreadsheet for later analysis.
The idea is to collect sports betting odds from Internet sportsbooks and of course such content is created dynamically based on day's offer of sports events!
It can be done when the web tables are created dynamically with ASP or PHP as it basically just feed you the web page with all the data still enclosed in standard HTML tables tags.
However there are quite a number of sites that use Javascript to create such dynamic tables. SO MY QUESTION IS: IS THERE A WAY TO GATHER SUCH JAVASCRIP CREATED WEB DATA IN JAVA?
Thanks in advance!

One more thing occured to me as a possible solution but I don't know if it can be done?
Those particular JavaScript generated web pages that I'm trying to retrieve contents from display data in html tables created depending on the user input!
Appart from zillion fancy design functions, those pages create a loooooong string which basically represents html <table>.....</table> structure and all the rows and cells are constructed by calling multiple JavaScript functions and filling those tables with variables contained in arrays located in several *.js files.
So my idea is, CAN YOU CATCH THAT FINAL GENERATED HTML, that is used to view the web page in a browser?

Similar Messages

  • Insert XML content  from BLS to oracle table

    Hi,
    Is there any way to send XML content from BLS to Oracle table. I tried with FixedQueryWithOuput. It works, but it has limitation, it cannot take more than 4000 character , even though the param is configured as clob in oracle database side?

    Sajjad
    This is not issue from xMII-side itself, instead this is an Oracle issue itself. This has some limitation in manipulating data in Database.
    Managing CLOBs and BLOBs in JDBC is not very simple when compared to managing small amount of data. The way the CLOB and the BLOB objects are created and managed is different than a VARCHAR(String) column. In fact, Oracle extension classes are provided to support these types objects in JDBC like oracle.sql.CLOB, oracle.sql.BLOB etc.
    The new enhancements in Oracle JDBC 10g promises to simplify the insertion and retrieval techniques for the CLOBs using the standard APIs. This document enumerates how easily the CLOB data can be handled in JDBC, by harnessing the new features of the Oracle JDBC 10g driver
    Anyway, to more get info on Oracle problems u may read  <a href="http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/clob10g/handlingclobsinoraclejdbc10g.html">this</a>
    Regards
    Som

  • How to delete contents from more than 1 table

    How to delete the entire contents from more than 1 table in a single query.
    It is very urgent,
    Thanks in advance
    John

    Goto SE11 ->Open table ->Utility ->data base utility ->delete database table.
    BTW, Do not do it.
    Thanks,
    Ashish

  • [SOLVED] - Create Boot Media to Retrieve Content from a Specific Distribution Point Regardless of Boundary/Boundary Group?

    I think I'm a little confused because maybe I missed something somewhere.
    I'd like to create bootable meda that would pull the content from a specific DP no matter where the device was physically.  So if the machine is in Boundary A/B/C within Boundary Group group A/B/C, that media should
    always pull from Distribution Point 'F'.
    During the task sequence media creation process, on the 'Boot Image' page, you're asked to select a distribution point so I believed that was all I needed to do.  But even though I selected a specific DP, DP F, when creating the media,
    during the operating system deployment task sequence, I saw it was pulling the image from another DP; a remote DP for that matter. Imaging over the WAN is not ideal! 
    I double checked the Boundaries and with the exception of 1 overarching boundary, there were no other overlapping Boundaries.  I then checked the Boundary Groups to confirm the Boundaries were associated with the correct Boundary Group (e.g.: all IP's
    at site A are in Boundary Group A) and that the correct site system server had been specified for each Boundary Group.
    Why the overarching overlap?  I wanted to cover scenarios where a local DP had not yet been stood up or simply didn't exist.  We frequently stand up several ad-hoc small 'offices' of just 1-3 people with bare-bones infrastructure.  I
    wanted them to fall back to HQ if they needed anything versus configuring separate Boundaries for each one as the ranges vary each time.
    First question is, am I doing something wrong or is this just not possible?
    Second, HQ is a fallback source location for content, and that's where this particular system was pulling content from.  If the DP I specified during the TS Media creation is missing content, how can I confirm this and validate that the client was directed
    to the fallback source which is HQ?

    That cannot be done. DPs will be determined dynamically. The DP used in the wizard is for downloading the content just for creating the media.
    Torsten Meringer | http://www.mssccmfaq.de
    Oh man - thank you for clearing that up.  Sheesh I was thinking about that the wrong way.

  • How to display retrieved data from DB on web page

    Dear all,
    how to display retrieved data from oracle database on web page,Does anyone can give me an simple example?
    thanks
    WJ

    Hi,
    I use JRun tags but you can use Oracle tags or just JDBC... First u need to install jdbs connection and set e connection by using JMC (For JRun) named nomad.
    U can also try the link below for JRun tags..
    http://wds.its.uiowa.edu/cache/docs/jrun/html/JRun_Custom_Tag_Library/contents.htm
    <%@ page import="java.sql.*,javax.sql.*,java.text.*,allaire.taglib.*" %>
    <%@ taglib uri="jruntags" prefix="jrun" %>
    <%@ page contentType="text/html; charset=ISO-8859-9" %>
    <html>
    <head>
    <title> Test Page </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    </head>
    <body>
    <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=15 TOPMARGIN=20 >
    <jrun:sql datasrc="nomad" id="q1">
    select empno,
         ename
    from emp
    order by ename
    </jrun:sql>
    <center>
    <table border = 0 cellpadding = 3 cellspacing = 1>
         <th>EmployeeNo</th><th>Name</th>
    <jrun:param id="q1" type="QueryTable"/>
    <jrun:foreach group="<%= q1 %>">
                   <tr>
                   <td> <%= q1.get(1) %> </td>
                   <td> <%= q1.get(2) %> </td>
                   </tr>
    </jrun:foreach>
    </table>
    </center>
    </body>
    </html>
    ----------------------

  • Accessing KM content from within a web application

    We are trying to migrate an application from a BEA webServer onto the webAS. The application relies heavily on the BEA content management system (CMS), this is to be replaced by the KM. We cannot rebuild the application using iViews etc as we have to retain the current look and feel, and hence we will have to call the KM content from the jsp code within the application. Does anyone know if this is possible and can give us an idea of what API's we call...(if the API’s exist and if this is the correct approach).
    Many thanks

    ]> call the KM content from the jsp code
    ]That sounds not very well designed...
    BEA have a content tag library for extracting content from the CMS within a JSP page.  I think this is what James may be referring to.
    Does the KM have equivalent taglibs?  If so, can these be configured to access the KM running on a different J2EE instance (specifically one running on another machine).
    Going to browse the API docs anyway, but if you have a short answer to this, please post.
    Gary

  • How do I retrieve information from an existing web page?

    I'm not sure if I'm in the right place to ask this question,
    but I hope I am. I'm trying to creating a catalog program for
    myself. I am envisioning it to be something like netag or
    pricewatcher. How do I create a search box that will search a
    listing of websites and pull certain information, then add that to
    a databse? Thank you for help on such a bizzare question.

    Read up on CFHTTP at
    http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm#wp1632966.
    After execution, the variable CFHTTP.FileContent will contain the
    entire Web page. You'll have to build a parser to scrape the
    screen.
    A couple of observations.
    Plan on it taking several seconds for each Web site your
    getting. More an issue of Internet speed and remote server
    responsiveness than any thing else.
    Also, it would be a good idea if you have permission from the
    owners of the sites you plan to tap.

  • Retrieving content from Apple TV

    Pretty sure I know the answer as others have posted similar questions but here goes:
    I bought a used Apple TV. The guy I bought it from does not have copies of any of the content (both iTunes purchased and non purchased (ripped etc.)) currently on the Apple TV (it's his, long story). He asked me if I could somehow get the content off the Apple TV and burn it to some DVDs for him. I'm up for trying.
    It appears from what I've read here though that as soon as I pair it with my computer/itunes the content will be erased as Apple TV views that as a new library. Is this correct ?
    What I haven't been able to find out is can I plug the Apple TV in without pairing it and somehow access the content ? Does it show up as a network drive perhaps ?
    I gather that I could remove the drive and mount it but that's a little risky.
    Always willing to help my fellow man if I can.
    Thanks
    Marc

    Thanks. Does anyone know how Apple TV determines if it is a new library ? Assuming he can retrieve his iTunes library file and put in on another (empty) Mac or PC. would Apple TV still think it is a different library ? Or because the library is the same would the files then be synched back to the new computer?

  • Retrieve Content from iCloud

    once I upload content to the coud from my iphone, how do i retrieve it.  Once I connect my USB connection and back up, I cannot see anything in my icloud account.

    Welcome to the Apple Community.
    You can't back up from a Mac to iCloud, what makes you think you have.

  • Trying to retrieve content from a text field & use it in a conditional statement

    Hi Everyone,
    I have a form with a text field and a button. The  text field is called "orderNo", and the button is called "genOrder".
    Initially  the text field is empty, and clicking on the button fills the text  field with an appropriate order number.
    I need to check the text  field for data (content) before writing the order number to it, this  way if an order number is already present in the text field it will not  be over written.
    My intention is to use an if / else structure to  perform the testing, however I don't know how to retrieve the content  of the text field (if content is present!).
    If anybody can  suggest how I can go about retrieving the content of the text field and  then use it in an if / else statement it will be greatly appreciated.
    Kind  Regards,
    Davo

    Hi try67,
    Thanks for your assistance. I have posted in this http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=70276#p70276 forum asking for further assistance if your able to help more.
    Once again thanks for your time.
    Cheers
    Davo

  • How to retrieve content from DAO Class and process in Controller Class?

    Hello
    This is for the experts.
    What is the best approach to passing a large set of data from Class A to Class B? I have a DAO Class that connects to a database to retrieve data. I tried saving the data in a collection (map) and passing the collection to Class B. The problem here is that the data is may be too large for a collection without increasing the heap size, it could cause out of memory exception. Instead I'd like to pass the data (row by row) on to the "Controller" Class where which will process each row. I am not sure how to do this without using a collection or some sort. Some tips will be much appreciated.
    Note: MVC Rules dictates that Controller cannot call the DAO Class directly, it has to go through the Model which talks directly with the DAO Class.
    Thanks
    Edited by: 875864 on 30-Oct-2011 15:05

    875864 wrote:
    Hello
    This is for the experts.
    What is the best approach to passing a large set of data from Class A to Class B? I have a DAO Class that connects to a database to retrieve data. I tried saving the data in a collection (map) and passing the collection to Class B. The problem here is that the data is may be too large for a collection without increasing the heap size, it could cause out of memory exception. Instead I'd like to pass the data (row by row) on to the "Controller" Class where which will process each row. I am not sure how to do this without using a collection or some sort. Some tips will be much appreciated.
    Note: MVC Rules dictates that Controller cannot call the DAO Class directly, it has to go through the Model which talks directly with the DAO Class.
    Thanks
    Edited by: 875864 on 30-Oct-2011 15:05if its a large set of data, and is fetched from DB and you are sure that it is too large and chances of getting out of memory exception then why you are passing it over request.
    If the data is fetched based on some filter criteria, then just pass the filter criteria from class A to class B, and fetch the data from DB based on the filter criteria in class B.

  • Retrieving content from the VCR

    I can find lots of information on how to use the Portal Admin Console to add content to a repository. What I need to learn is how to use java code to extract what is added.
    I did find netui tags that I can use in JSPs to access the repsoitory, however, I cannot find which java classes to use or how to access the repository object to get the data.
    Any help, (i.e. code snippets), would be greatly appreciated.
    Thanks,
    Everette

    Hi Everette ,
    Go through the links,you will find some usefull information on this issue.
    http://e-docs.bea.com/wlp/docs81/whitepapers/vcr/index.html
    http://e-docs.bea.com/wlp/docs81/repository/index.html
    http://e-docs.bea.com/wlp/docs81/adminportal/index.html#contentmanagement
    http://e-docs.bea.com/wlp/docs81/cm/index.html
    ---Anilkumar kari

  • Best Practice to retrieve content from WCM in Weblogic Portal 10.3

    Hi,
    Could someone tell us how to render static pages of WCM (which is part of UCM 10gR3) in Weblogic Portal 10.3.
    Right now we are using WCM portlet & getting error when changing the portlet preferences.It was provided by oracle only.
    Is there any other easy approach to develop static pages through UCM & then integrate in WLP considering the propagation frm Dev to Preprod to Production environments.
    Thanks,
    Protiti

    Hi,
    Could someone tell us how to render static pages of WCM (which is part of UCM 10gR3) in Weblogic Portal 10.3.
    Right now we are using WCM portlet & getting error when changing the portlet preferences.It was provided by oracle only.
    Is there any other easy approach to develop static pages through UCM & then integrate in WLP considering the propagation frm Dev to Preprod to Production environments.
    Thanks,
    Protiti

  • Can not retrieve cell data content From BLOB object.

    I have load Image into Georaster with Raster_Table following:
    create table rdt_1 of mdsys.sdo_raster
    (primary key (rasterId, pyramidLevel, bandBlockNumber,
    rowBlockNumber, columnBlockNumber))
    lob(rasterblock) store as (nocache nologging);
    After I load Image successful, I continue load all cell data into BLOB object by:
    DECLARE
    gr sdo_georaster;
    lb blob;
    BEGIN
    SELECT georaster INTO gr FROM georaster_table WHERE georid=2;
    dbms_lob.createTemporary(lb, FALSE);
    sdo_geor.getRasterData(gr, 0, lb);
    dbms_lob.freeTemporary(lb);
    END;
    Please give me simple PL/SQL to retrieval content from BLOB object!
    Thank You very much!
    YuMi

    BLOB stands for Binary Large OBject. However the acronym has a pleasing affinity with the actual nature of the thing. In a database a BLOB is an undiffereniated mass of bytes. We don't know whether it's a spreadsheet or a word document or an image. So there is no out-of-the-box API for treating a BLOB as it's native file type.
    Having said that there may be something in the Spatial API that works with such things - you might be better off asking the question in Spatial. Although I suspect that venue doesn't get as much through traffic as this one.
    Cheers, APC

  • Error while retrieving data from PL/SQL Table using SELECT st. (Urgent!!!)

    Hi Friends,
    I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
    CREATE or REPLACE PROCEDURE test_proc IS
    TYPE tP2 is TABLE of varchar2(10); --declared a collection
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    While executing the above procedure, I encountered foll. error:
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
    ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [0]
    Can anyone please help me, where the problem is??
    Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
    Thanks in advance.
    Best Regards,
    Jay Raval.

    Thanks Roger for the Update.
    It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
    Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
    I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
    Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
    If someone have any other idea on this, please do let me know.
    Thanks a lot for all help.
    Best Regards,
    Jay Raval.
    You have to define a database type...
    create type tP2 is table of varchar2(10)
    CREATE OR REPLACE PROCEDURE TEST_PROC
    IS
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    This will work.
    Roger

Maybe you are looking for