How to get the information of various components in a webpage

I am getting the Document object of the webpage using JRex.
When I hit any site eg. www.yahoo.com then JRex returns the Document object of the corresponding document. Now I want to retrieve the information of various components of that webpage.
Eg. button tag is there on the page. For different webpages it can be at different place in the pages. So how can I get the information of different different components on the page..
Please guide me in this as I dont have any idea regarding this.

I am getting the Document object of the webpage using JRex.
When I hit any site eg. www.yahoo.com then JRex returns the Document object of the corresponding document. Now I want to retrieve the information of various components of that webpage.
Eg. button tag is there on the page. For different webpages it can be at different place in the pages. So how can I get the information of different different components on the page..
Please guide me in this as I dont have any idea regarding this.

Similar Messages

  • How to get the information of the log related to t.code generated by basis.

    In the log generated by the basis personnel we found the details of user and corresponding t.code used details.  How to get the information reg. which document he went into using this t.code? For example me29 t.code used by 'x' user.  The log is showing time date t.code and user.  By using me29n which document he attended is the requirement. How to get this information. Let me know it pl.
    TS

    Thanks all for the help.
    Here is my solution. A mix from Julian and Thomas.
    In future I will encapsulate the code in a function module.
    DATA: BEGIN OF usr_tabl OCCURS 10.
            INCLUDE STRUCTURE uinfo.
    DATA: END OF usr_tabl.
    DATA: th_opcode(1) TYPE x.
    DATA: LV_TID LIKE  SY-INDEX.
    CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
      ID 'TAB' FIELD usr_tabl-sys.
    CALL FUNCTION 'TH_USER_INFO'
      EXPORTING
        CLIENT = sy-mandt
        USER   = sy-uname
      IMPORTING
        TID    = LV_TID.
    read table usr_tabl with key tid = lv_tid.
    IF sy-subrc = 0.
      CASE usr_tabl-type.
        WHEN 2.
          write :/ usr_tabl-type, 'SYSTEM'." (system)
        WHEN 4.
          write :/ usr_tabl-type, 'GUI'." (Gui)
        WHEN 32.
          write :/ usr_tabl-type, 'RFC'."(RFC)
        WHEN 202.
          write :/ usr_tabl-type, 'PLUG-IN'." (Plug-in &).
      endcase.
    ENDIF.

  • I am new to Mac Pro but am purchasing one online.  can anyone tell me how to get the information from my Toshiba onto the Mac.  there are no stores in the state I live in.  Do I need to find a location and will they do a transfer from my I Tunes etc?

    I am new to Mac Pro and am purchasing one online  tonight.  Can anyone tell me how to get my information - Itunes, photos, and videos transferred onto the Mac from my Toshiba.  the state I live in doesn't have an Apple store but I could take it to Minneapolis when I go.  Any ideas where to begin?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • How to get the information like IP address,Host name of connected clients v

    Hi Every one,
    I want to get the information like (IP Address,Hostname,Active sessions , Database Server….etc) of the connected clients
    via V$Views(ORACLE).
    And then I like to load these infromation into a table “Client_Table”.
    Could some one give me suggestion that which V$ views/method I use in order to get the above information and then
    how to load these information into a table “Client_table”?
    Your suggestions will be highly appreciated.
    With Regards
    BILAL

    You could use a LOGON TRIGGER so every session insert its own environment into your client_info table.
    You could use the following view and choose whatever attribute you need:
    create or replace view my_userenv (
    AUDITED_CURSORID ,
    AUTHENTICATION_DATA ,
    AUTHENTICATION_TYPE ,
    BG_JOB_ID ,
    CLIENT_IDENTIFIER ,
    CLIENT_INFO ,
    CURRENT_SCHEMA ,
    CURRENT_SCHEMAID ,
    CURRENT_SQL ,
    CURRENT_USER ,
    CURRENT_USERID ,
    DB_DOMAIN ,
    DB_NAME ,
    ENTRYID ,
    EXTERNAL_NAME ,
    FG_JOB_ID ,
    GLOBAL_CONTEXT_MEMORY ,
    HOST ,
    INSTANCE ,
    IP_ADDRESS ,
    ISDBA ,
    LANG ,
    LANGUAGE ,
    NETWORK_PROTOCOL ,
    NLS_CALENDAR ,
    NLS_CURRENCY ,
    NLS_DATE_FORMAT ,
    NLS_DATE_LANGUAGE ,
    NLS_SORT ,
    NLS_TERRITORY ,
    OS_USER ,
    PROXY_USER ,
    PROXY_USERID ,
    SESSION_USER ,
    SESSION_USERID ,
    SESSIONID ,
    TERMINAL
    ) AS SELECT
    SYS_CONTEXT ('USERENV', 'AUDITED_CURSORID') ,
    SYS_CONTEXT ('USERENV', 'AUTHENTICATION_DATA') ,
    SYS_CONTEXT ('USERENV', 'AUTHENTICATION_TYPE') ,
    SYS_CONTEXT ('USERENV', 'BG_JOB_ID') ,
    SYS_CONTEXT ('USERENV', 'CLIENT_IDENTIFIER') ,
    SYS_CONTEXT ('USERENV', 'CLIENT_INFO') ,
    SYS_CONTEXT ('USERENV', 'CURRENT_SCHEMA') ,
    SYS_CONTEXT ('USERENV', 'CURRENT_SCHEMAID') ,
    SYS_CONTEXT ('USERENV', 'CURRENT_SQL') ,
    SYS_CONTEXT ('USERENV', 'CURRENT_USER') ,
    SYS_CONTEXT ('USERENV', 'CURRENT_USERID') ,
    SYS_CONTEXT ('USERENV', 'DB_DOMAIN') ,
    SYS_CONTEXT ('USERENV', 'DB_NAME') ,
    SYS_CONTEXT ('USERENV', 'ENTRYID') ,
    SYS_CONTEXT ('USERENV', 'EXTERNAL_NAME') ,
    SYS_CONTEXT ('USERENV', 'FG_JOB_ID') ,
    SYS_CONTEXT ('USERENV', 'GLOBAL_CONTEXT_MEMORY') ,
    SYS_CONTEXT ('USERENV', 'HOST') ,
    SYS_CONTEXT ('USERENV', 'INSTANCE') ,
    SYS_CONTEXT ('USERENV', 'IP_ADDRESS') ,
    SYS_CONTEXT ('USERENV', 'ISDBA') ,
    SYS_CONTEXT ('USERENV', 'LANG') ,
    SYS_CONTEXT ('USERENV', 'LANGUAGE') ,
    SYS_CONTEXT ('USERENV', 'NETWORK_PROTOCOL') ,
    SYS_CONTEXT ('USERENV', 'NLS_CALENDAR') ,
    SYS_CONTEXT ('USERENV', 'NLS_CURRENCY') ,
    SYS_CONTEXT ('USERENV', 'NLS_DATE_FORMAT') ,
    SYS_CONTEXT ('USERENV', 'NLS_DATE_LANGUAGE') ,
    SYS_CONTEXT ('USERENV', 'NLS_SORT') ,
    SYS_CONTEXT ('USERENV', 'NLS_TERRITORY') ,
    SYS_CONTEXT ('USERENV', 'OS_USER') ,
    SYS_CONTEXT ('USERENV', 'PROXY_USER') ,
    SYS_CONTEXT ('USERENV', 'PROXY_USERID') ,
    SYS_CONTEXT ('USERENV', 'SESSION_USER') ,
    SYS_CONTEXT ('USERENV', 'SESSION_USERID') ,
    SYS_CONTEXT ('USERENV', 'SESSIONID') ,
    SYS_CONTEXT ('USERENV', 'TERMINAL')
    from dual;

  • How to get the information of the framerate and bitrate in receiving side

    Hi,
    I want to know if anyone here know how to get the frame rate and the bit rate statistic on the receiving side.
    I know that it will be displayed on the info panel with the control component, but actually where can I obtain the stats into my program instead of reading by my eye.
    Thanks for helping me.
    Best regards
    Ferdinand

    Hi Raju,
    It's basu here,
    I used TADIR and TRDIR Tables , But There is no modified Information.
    Means, Suppose if i modified any customized object , i want that information also in the Report.
    Please Help me on this.
    Thanks
    Basu
    Message was edited by:
            karibasavakm Kumbargiri Math

  • How to get the information of index?

    Hi all,
    I am a new InDesign developer. I want to know how can I get the information of the index places in the document, including all entries and styles. Or, how can I traverse the index tree on index panel.
    Thank you very much.

    Sorry, I forgot the point that I am using CS4.

  • How to get the information from the previous JSP

    Hi,
    I have two jsp files, first.jsp and second.jsp, I get a value of fileName from first.jsp, how can I get the value of fileName in second.jsp??
    <%
    String fileName = null;
    MultipartRequest multi = new MultipartRequest(request , saveDirectory , maxPostSize );
    Enumeration upLoadFiles = multi.getFileNames();
    while (upLoadFiles.hasMoreElements()) {
    String name = (String)upLoadFiles.nextElement();
    fileName = multi.getFilesystemName(name);
    String contentType = multi.getContentType(name);
    if (fileName != null) {
    out.println("<font color='red'></font><br><br>");
    out.println("Filename "+fileName+"<br>");
    out.println("content type "+contentType+"<br>");
    out.println("content "+fileDescription+"<br><br>");
    response.sendRedirect("second.jsp");
    %>
    Thanks,
    ED

    Put the parameter in the url itself like:
    String url = "second.jsp?filename="+fileName;
    and then
    response.sendRedirect(url);
    Hi,
    I have two jsp files, first.jsp and second.jsp, I get
    a value of fileName from first.jsp, how can I get the
    value of fileName in second.jsp??
    <%
    String fileName = null;
    MultipartRequest multi = new MultipartRequest(request
    , saveDirectory , maxPostSize );
    Enumeration upLoadFiles = multi.getFileNames();
    while (upLoadFiles.hasMoreElements()) {
    String name = (String)upLoadFiles.nextElement();
    fileName = multi.getFilesystemName(name);
    String contentType = multi.getContentType(name);
    if (fileName != null) {
    out.println("<font color='red'></font><br><br>");
    out.println("Filename "+fileName+"<br>");
    out.println("content type "+contentType+"<br>");
    out.println("content
    nt "+fileDescription+"<br><br>");
    response.sendRedirect("second.jsp");
    %>
    Thanks,
    ED

  • Is there a link that demonstrates how to get the information from the forms into a database?

    I have set up a form for a client's web site and I don't want the client to have to deal with a vast quantity of emails each with the form entries. I want the information to go directly into my client's database and I didn't want to use Business Catalyst. Let me know which database program would be the best for them to use. Preferably Mac.

    Hi David,
    There is a similar thread live with us , you can follow the Database of Form Entries
    Hope that works
    Thanks
    Prabhakar Kumar

  • I have lost all my data from my iphone during synchronisation.  Can anyone tell me how to get the information back

    I have lost all my data from my iphone during synchronisation.  Can anyone help me?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • How to get the groups info for user

    Hi guys i am new to ALUI..
    i am trying to do some enhancement.
    i want to know how to get the information of the users group and the group details using the IDK API?
    Can sombody share some code?

    Hello,
    You are welcome. Here is one way of get what you want:
    1) get all groups id's
    IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
    2) get details about group
    IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
    cycle over int []: {
    IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
    Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
    Edited by Bryazgin at 05/29/2008 7:48 PM

  • Plz Help, How can I get the Information from the net conneted machine?

    Suppose Person x has login on the network by using
    dial-up network connection? I want to know that wheather he is on the network and get the data from his machine ?
    Suppose I know his username/Password and phone no
    for dial up...
    Plz, suggest me how can I do this?
    How can get information from that machine?
    Thanks
    Pramod

    Hi,
    I dont know whether I understood your question completely.Anyway,let the users be X and Y and be on diff machines,
    Since X is logging in using a dialup network the ip is allotted dynamically and so, Y cannot know X's ip till he logs in and tell Y about it explicitly. Workaround is that either X's or Y's ip must be constant/static or there should be another way that X know about the ip of Y each time he logs in.
    If X's ip is static, Y can poll certain port at X where u's alpplication is running and if conn. is succ, after some authentication, get the information u want. For writing u'r own services there should be u'r own components at both ends, one requesting connection and other accepting. Please get back to me if more doubts or if I have'nt understood u'r problem fully..
    regards Stallon

  • How to Get  the SSO Logged user information in database trigger

    I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
    thanks

    Try using portal30.wwctx_api.get_user returns a varchar2 (PUBLIC) or the Username that is logged in
    I need to track which SSO user is inserting data into a table , so how can i get the information of that user in a database trigger on that table
    thanks

  • How to restore deleted playlists to an itouch after syncing with wrong device. Tried to search for device to restore under devices and it completely removed it as a device on itunes. Is there anyway to get the information back?

    To start we have several users and devices on our itunes account....Several weeks ago I was using my itouch to create playlists for a few aerobics classes that I teach.  Right before I was about to unplug the itouch I got a notification that my itouch was full and didnt have any space left.  Since I was done with what I was doing at the time, I unplug my itouch and figured I would delete unwanted songs later to create more room. A week later, I went to sync my itouch into itunes and over the devices it told me that it was named another device and wanted to know if i wanted to sync the information to my itouch I had just plug in.  I had never seen this message before in all the other times I had used it, and at the time I didnt realize that it was giving my device the name of another user in my house. Without realizing it itunes started to sync the new information to my itouch.  I immediately unplugged the usb cable stopping the process.  I then replugged the usb cable in, hoping to get done what I needed to get done on my itouch thinking it might have just been a strange glitch. Also, since I hadn't notice any change on my itouch from the incorrect syncing, I continued to start itunes again.  This time it asked me the same question as before "did I want to sync the information from another ipod?". Since I didnt notice any changes before I just let it do the syncing not realizing at the time that it was earsing all the info I had on my itouch and replacing it with info coming from the other users ipod.
    I contacted Apple and they gave me infomation on how I could go look for my itouch under devices and get the information back.  When I did this my itouch was no longer there under the devices and it was replaced with the new name that itunes had given my itouch.  This device is one of the first generation itouches and has never been backed up that I know of... So my question to you all is...Is there any way of getting my playlists back???? I spend countless hours creating these playlists for my classes and have been completely out of my mind trying to figure out how I can possibly get the infomation back. Please let me know if you think there might be a way to do this!!!     

    The devices that are listed are: 2 under the name of the device that synced incorrectly with mine and then 3 others that are not associated with my itouch. The name of the ipod, before the incorrect sycning is no longer under devices.  It has been replaced with the incorrect one because I can see the serial # of my ipod under the wrong name.
    The playlists that are in my itunes library are from an ipod that I used a few times before I took this one over... Which happens to be the ipod that took on the ID of my itouch.
    Both of these ipods used to be my kids.. I used my sons a few times and then switched to my daughters.  They each had their names attachted to their particular devices and now it just says my sons, which is the ipod that itunes was connecting to when all this happened. The really strange thing is my son doesnt use his ipod any longer and now uses his phone for music...So, it had been a while since that particular device was even synced to itunes!
    I hope this helps!

  • HT5622 I changed my Apple password and I get the information at the wrong email address.  The correct email shows in my Apple account.  Why is the mail going to the wrong email? How do I fix it?

    I changed my Apple password and I get the information back at the wrong email address.  My email address is right under my Apple ID.  How do I get this corrected?

    AWDunams wrote:
    Okay so I associate the e-mail address as the apple ID and that seems to be a wrong assumption.  I did go to my Apple ID and changes the e-mail address and the password but for the same and only Apple account I have ...
    That is good.  In that case, your one and only account has not changed, just the login credentials you use for it.  All your previous purchases will remain associated with that account, and the new login.
    In essence, an AppleID is an email, but it has two parts.  One is the login email address and password everyone traditionally thinks of as an AppleID.  But that in turn is linked to an account with Apple.  As long as you use the manage Apple ID portal to just change the email address and/or password for your exisiting AppleID, then the internal account tracks along with those changes as well.
    However, on your iOS devices, you will need to log out and then log back in with the new login credentials:
    settings -> iTunes & App Stores - tap your AppleID, and choose log out.  Then log back in with the new email address and new password.

  • How to get the Mobile information by using J2ME application

    hi all,
    I am lakshman.I am developing an application in j2me,I want my program compatible to all mobile devices.
    I want to know properties and the device information with the help of a j2me application.I got the information with the help of System.getProperty(String).I found some of the information like sms,videocapture,and some of the values and the variables ... in the following
    platform...null
    encoding...ISO-8859-1
    configuration...CLDC-1.0
    profile...MIDP-2.0
    locale...null
    fileconnection...1.0
    comport...null
    hostname...iwmc-07
    sms...null
    smartcard...null
    location version...null
    sip version...null
    m3gversion...null
    mms...null
    videocapture...false
    videoencoding...null
    snapshotencoding...encoding=png encoding=jpeg encoding=gif encoding=bmp
    audioencoding...null
    supaudcap...false
    suprecod...false
    supmixing...false
    mediaversion...1.1
    streamcont...null
    I want to know these are the only variables or is there are lot...
    Now my question is I want to get the information of the service provider and also the present location that the mobile was present.I think there was some method to get that ...I want to get what firmware it was using .
    Can anybody tell me that way and also the package to get the information
    thanks in advance
    lakshman

    hi all,
    I am lakshman,I found the answer for my question,By using the Location API(jsr179).It was not include in the WTK2.2.for that i have downloaded the WTK2.3 then i have implemented the location api in the application and it was working.
    And I have the following warning...
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    I am running the application from my Emulator(by using the default color phone).I have to check that in the device.
    Can any body please give me the way to fix that,i want to test my application from my emulator is that is possible if possible ...how?.what is the procedure to implement..
    thanks in advance

Maybe you are looking for

  • Display a PDF file from local drive

    Hi, I would like to display a pdf file that is actually stored on the portal server hard drive. What I have tried to do is link an iFrame element to the url of the file: "D: MyFolder myFile.pdf" But it doesn't work. I have the following error when tr

  • Exporting NULL values to csv

    Hi, I've recently upgraded from CR 8.5 to CR XI. I have noticed that when exporting to csv, NULL values are no longer between quotes. So the result may look like: instead of How to get these quotes back?

  • No scaling with mercury engine (Cinemascope to HD for playback)

    Hi I have a Blackmagic Extreme 3D+ card installed in my 12-core Mac Pro running AE CC 2014. When I playback an HD composition (1920x1080) the video is playback through the mercury engine fine. But when I have a cinemascope composition (2048x858) the

  • FLEX & Session Variables: a BUG?.

    TARGET: Calling a Coldfusion Component with Remote Object to achieve a boolean value as result. If I declare the session variable inside the CF Function it works. If I declare the session variable before the CF Function was called it fails. See this

  • Select query using variable

    Hi all, If I have a variable with multiple value (returned from bulk collect), how can I pass it into a select query as a condition? Eg. set serveroutput on declare type v_LockSessInfo is table of integer; empdata v_LockSessInfo; begin select unique