Help on retriving the content from a excel file and web page

hi,
i need help on identify the content on a webpage. how to do this ?
in myproject i need to read an excel file how to read an excel file , in java?
after reading the excel file ,i have to open a webpage based on the link available in the excel file.
how to perform this action?
and from the web page i need to retrive the each individual text
how to perform these action?
please help .... urgent
regards,
valli

sales team will enter data in excel file .
the excel file will have a list of links ,
i need to access the excel file and open that link.
from the link i will get some information ,such as
company name, address, phone no, contact details.
i need to identify each individual (address, email
id) from the web page and store that data in the data
base .
how to access a excel file from java?
i found in google jakartha-poi-jar file.
but ther eare many jar file. which one i have to
download?
how to identify from a web page these different
items?
thanksPlease answer DrClaps's question from reply #3.

Similar Messages

  • How to read the content of this excel file in LV

    Hi could you please let me know how can I read the content of this excel file using the Read From Speardsheet function. It contains text and numbers
    Thanks
    The excel file is attached
    Attachments:
    Datalogging.zip ‏307 KB

    Check attached VI.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    ReadFromExcel.vi ‏27 KB

  • Is there any way to read the data from an excel file w/o using a loop structure?

    I am retrieving a large amount of data (multiple sheets) from an excel file and would like to extract the entire range without retrieving individual cell values(too slow). I can write an range all at once but cannot read it.

    If you are able to write a block of data, then you should be able to read a block. The four requirements that you want to verify are:
    1. The Range specified must match the exact size and location of the data block you want to read
    2. The returned data is in a 2D array of Variants (either strings or numbers)
    3. Use Variant to Data to convert to 2D DBL or 2D Strings
    4. Check for the correct orientation for your application (use transpose if it is not)
    Michael Munroe
    Certified LabVIEW Developer
    www.abcdef.biz
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Separating values from an excel file and plotting

    Hello,
    I am using the read excel table vi to read the values from an excel file.I see the data in the output.
    I wanted to take the first two columns and multiply each value with 20m and then plot it in a XY graph. 
    I am attaching the files below.
    Thanks in advance 
    Solved!
    Go to Solution.
    Attachments:
    test data.xls ‏436 KB
    ReadExcelTable[1].vi ‏23 KB

    Hello,
    i acheived the multiplication in a different way but i have another problem.I am only considering two columns in the above excel sheet.After multiplying each value with 0.02  i get another array for the two columns with values say a,b,c,d and a1,b1,c1,d1 and so on.
    The plot i require is of (a,a1)   (a+b,a1+b1)  (a+b+c,a1+b1+c1) and so on.
    Any ideas that might help me.I am attaching the VI that solves the problem till multiplication.
    Thanks in advance.
    Attachments:
    INS_plot.vi ‏59 KB
    test data.txt ‏246 KB

  • How to Retrive the content from Archive folder ???

    Hi,
    1. I was working on the archiving of the documents and was able to archive the docs into a local archive folder.
    Then I had to test a scenario where when the user wants to search for a document with a specific ContentId, if the ContentId was not present in the content repository, then the content manager has to search for the same in the archived documents. Is this achievable?
    While testing the above, the UCM server had stopped indexing and started giving a Interrupted exception for indexing. While we do a normal checkin also the documents are in DONE status and are not getting published. Tried restarting the indexer also but in vain. How can we restart the indexing so as to publish the docs?
    2. indexing not working even for normal checkin the content.its showing error "indexing aborted" ? content never gets released after checkedin the content ? its struch in done status ?
    while importing the content to ucm serverl, i have deleted "testarchive " (which was exported from contentserver) from Archive folder in UCM install directory.. then many contents were in done status at contentmanagement-> workin progress. Errors showing in content server ...
    Indexing aborted. Error: Directory 'C:/UCM/archives/testacrchive' does not exist. Directory 'C:/UCM/archives/testacrchive' does not exist. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csIndexerAbortedMsg!syGeneralError!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
    intradoc.common.ServiceException: !syGeneralError
         at intradoc.common.FileUtils.testFileSystem(FileUtils.java:452)
         at intradoc.server.archive.ArchiveUtils.readFileEx(ArchiveUtils.java:215)
         at intradoc.server.archive.ArchiveUtils.readFile(ArchiveUtils.java:193)
         at intradoc.server.archive.ArchiveUtils.readArchiveFile(ArchiveUtils.java:158)
         at intradoc.server.IndexerReplication.readArchiveProperties(IndexerReplication.java:279)
         at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:156)
         at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
         at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
         at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
         at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
         at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
    Caused by: intradoc.common.ServiceException: !syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
         at intradoc.common.FileUtils.validatePath(FileUtils.java:801)
         at intradoc.common.FileUtils.validateDirectory(FileUtils.java:781)
         at intradoc.common.FileUtils.testFileSystem(FileUtils.java:437)
         ... 10 more
    Error showing in Archive logs
    Instance idc with archive testAcrchive is no longer being exported. Exception type is 'java.lang.Throwable'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csReplicationInstanceRemoved,idc,testAcrchive!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:81)
         at intradoc.common.Log.addMessage(Log.java:268)
         at intradoc.common.Log.errorEx2(Log.java:216)
         at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:97)
         at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:462)
         at intradoc.common.SystemUtils.errEx(SystemUtils.java:547)
         at intradoc.server.IndexerReplication.doExport(IndexerReplication.java:196)
         at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:169)
         at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
         at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
         at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
         at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
         at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
    Please resove the above issues,
    Please helpme out... this is pretty urgent as i am strucked at my work ? how to get relase the content ?
    thanks inadvance.
    Thanks,
    yt
    Edited by: 792821 on Oct 28, 2010 12:17 PM

    hi,
    We wanted to achieve the following.
    1) Data which is older more than 2 months should be sent and stored in a different storage device[ example: SAN storage / oracle storage etc ].
    2) When user requests for the contentId and if its older more than 2 months, the request has to search / retrieve the secondary storage system and get the documents.
    As of now, we need not required archival things, we just need retrive documents from out side devices. it can be SAS or any other storage device/unit.
    i just need to retrive the content based on metadata from other storage device.
    lets say one example , we have large amount data which is stored in one device or hard disc
    it can be SAS or any storge unit, using UCM, i need to retrive to the content from storage device/unit.
    how to retrive document from out side device ? how i need to configure for other storge unit ? is it possible through provider for providing other system information in UCM server ? is there any other alternate way ???
    how it be achived ? how to config to other storage device using ucm ?
    this requirement is very very urgent and we need proper soluation, so could please let me know soluation with a in detail description.
    thanks in advance

  • How to export the data from an excel file to Oracle database by using macro

    Hi,
    I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
    can anybody please send me the code to create macros?
    Thanks in advance.
    Regards,
    Surendra.V

    There are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
    ~ Madrid

  • How to retrive the data from a sqlite file(.db3) in windows phone 8.1(runtime)

    hey guys
    i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
    but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
    all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
    "copy if newer"
    can anyone please help? i appreciate that !

    Hello,
    From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
    you need to copy that file into storage folder before reading data. Please try the following code snippets.
    private async void Button_Click_9(object sender, RoutedEventArgs e)
    //check if file exists in storage folder, and then copy to local storage
    bool flag = await FileExistsAsync("Data.db3");
    if (!flag)
    var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
    await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
    // open sqlite and read data
    public async Task<bool> FileExistsAsync(string fileName)
    try
    await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
    return true;
    catch (FileNotFoundException)
    return false;
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How to read the data from an excel file into MYSQL by java language

    Hi all,
    I have some data in excel spread sheet and I want to put the data into MYSQL data base. I created the tables in MYSQL> How can I write a program in JAVA that puts the value from excel sheet to mysql??
    I would appreciate your help
    regards

    By typing code at the keyboard... but presumably you meant to ask what code you should type.
    To get data out of Excel there are a few alternatives. The Google keywords I would use to find them are "java excel". I use Apache POI but there are other possibilities, I believe. As for getting the data into MySQL once you have extracted it from Excel, you would use JDBC. But you already knew that, didn't you? You did find the JDBC forum.
    In general it's better to ask a specific question on a forum. If you don't have a clue (which is the way we all start out) then just telling people that isn't going to be helpful. The best you're going to get is links to tutorials, which you could perfectly well have found for yourself by simple web searches.

  • How can i Read the Data from such Excel files?

    Dear All,
            Here I am attaching an excel file in which all the datat cells have more than one data, can anybody tell me, how to read from such kind of excel files?
    Thanks in Advance & Happy New Year,
    Rujuta

    Greetings Ruju,
    Here is what I do to read such a file:
    I first save the Excel file (xls) as CSV file (which is easier to handle: Comma Seperated Values) .. Open the file using Excel and save it CSV.
    Then using the code attached I get all these values in a string array.
    Hope this helps
    Ayman Mohammad Metwally
    Automation Engineer
    Egypt - Cairo
    Attachments:
    CSV2ARRAY.vi ‏29 KB

  • Define a join in Webi Report which gets the data from two Excel files

    Hello,
    I have the following excel records as a source for my Webi Report:
    Excel 1
    Excel 2
    Date
    Month
    Month
    Year
    Year
    Total Number of Days
      in Month
    No. Of Exec
    Functional
      Area
    Now I need to show No. of executions/Total Number of Days in Month per functional area (Where Month of Excel 1 is Month of Excel 2).
    For this:
    I have Merged, Month of Excel 1 and Month of Excel 2,     Year of Excel 1 and Year of Excel 2.
    Created a variable vNoofExec , No. of Exec/Total Number of Days in Month.
    Created a graph, with Merged Month, Merged Year, vNoofExec with Region Color on 'Functional Area'.
    But, it doesn't work.
    If I replace vNoofExec with No. Of Exec I get the data, but not with vNoofExec.
    Any Idea how we can get a solution for this?
    Best regards,
    Praveen.

    Hi Amit,
    Thank you for your reply.
    I tried putting them in a table to see if I am getting the value for vNoofExec but, no, I am not getting. Here is the dummy data for both the excels:
    1. Excel 1:
    Year
    Month
    Week
    Date
    No. Of Exec
    Functional Area
    2013
    1
    30
    26
    1
    FA1
    2013
    2
    21
    20
    12
    FA2
    2013
    3
    21
    21
    1
    FA3
    2013
    4
    21
    22
    5
    FA4
    2013
    5
    21
    23
    2
    FA5
    2. Excel 2:
    Year
    Month
    TotalDays
    2013
    1
    31
    2013
    2
    28
    2013
    3
    31
    2013
    4
    30
    2013
    5
    31
    What I found is, if I create a measure like, [No. of Exec] where ([Functional Area]="FA1") and use this measure in the graph I am able to see the data even if I use Total Days in the Graph, but, I cannot create multiple measures like this because for me number of Functional Areas will be changing always.

  • NEED THE LOGIC TO RETRIVE THE DATA FROM IT2001 SUBTY 0910 AND 0100

    HI ALL,
    ITS URGENT
    NEED THE LOGIC TO RETRIEVE THE DATA FROM IT2001(P2001) SUBTY 0910 AND 0100.
    BEST REGARDS
    SUNIL

    Hi,
    Please find the logic to retrieve the data from IT2001.
    <b>Infotypes : 2001 mode n."Declare the infotype in the infotypes declaration.
    Get pernr.
    RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA."Retrieves all the records of absence
    LOOP AT P2001 WHERE SUBTY = XYZ.
    Write the logic.
    ENDLOOP.</b>
    Regards,
    Pavan Kattamuri.

  • How to read the contents of a text file and populate the data in a table ?

    Hello All,
      Can anyone advise on how to acheieve the above ? I am trying to read in a text file (CSV) and have the contents populated to the respective UI elements in a table. Any help is greatly appreciated.
    from
    Kwok Wei

    Hi,
    Let us consider you have list of names(Seperated by delimeter) in a text file and you want to display in  a table.
    1. Create Context Node "Names" and context attribute "Name"
    2. Create Table and bind to the above context.
    3.Write the following code in the "Init method.
    try{
    FileReader f =new FileReader("");
    BufferedReader r=new BufferedReader(f);
    String names=r.readLine();
    Vector Names=new Vector();
    // Use Tokenizer and store all the names i a vector//
    for(int i=0;i<Names.size();i++){
    IPrivate<<VieName>>.INameElement ele=wdContext.createNameElement();
    ele.set<<Name>>( Names.get(i).toString());
    wdContext.NodeName().addElement(ele);
    Regards, Anilkumar
    Message was edited by: Anilkumar Vippagunta

  • Reading contents of uploaded excel file in web dynpro java

    Hi All.
    I am aware how to provide facility to upload files in web dynpro java. But my requirement is that on uploading a particular file (for eg. an excel file having 10 columns), I need to read the contents of that file and store it in a table in R/3.Can anyone suggest a way how I can read the contents of the uploaded file?
    Thanks and Regards,
    Saurabh.

    Hi.
    I am having the following requirement : I have a FileUpload UI element where user clicks Browse button, selects a file from the local system and presses a Upload button. Upon pressing Upload, the name of the selected file and the contents of the file should be shown.
    In the View context, I have two value attributes: FileName of type String and FileResource of type binary.
    This is the code that I have in the Upload button action handler :
      public void onActionUpload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload(ServerEvent)
        IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(
                 IPrivateReadExcelView.IContextElement.FILE_RESOURCE);
        IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)attributeInfo.
                 getModifiableSimpleType();
        IPrivateReadExcelView.IContextElement element = wdContext.createContextElement();
        String fname = binaryType.getFileName();
        wdComponentAPI.getMessageManager().reportSuccess("File selected - "+fname);  //Statement 1
         try {
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    // Statement 2
              InputStream in = new FileInputStream(fname);
              HSSFWorkbook wb = new HSSFWorkbook(in);
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    //Statement 3
              int sheetsNo = wb.getNumberOfSheets();
              for (int i=0;i<sheetsNo;i++) {
                   HSSFSheet sheet = wb.getSheetAt(i);
                   Iterator rowsNo = sheet.rowIterator();
                   while(rowsNo.hasNext()) {
                        HSSFRow rows = (HSSFRow)rowsNo.next();
                        Iterator colsNo = rows.cellIterator();
                        while(colsNo.hasNext()) {
                             HSSFCell cell = (HSSFCell)colsNo.next();
                             wdComponentAPI.getMessageManager().reportSuccess("File uploaded" +
                                  "successfully");
                             if(cell.getCellType()==1) {
                                  wdComponentAPI.getMessageManager().reportSuccess("00000"+
                                       cell.getStringCellValue());
                             else if(cell.getCellType()==0) {
                                  String str=""+cell.getNumericCellValue();
                                  wdComponentAPI.getMessageManager().reportSuccess("11111"+str);
         catch(Exception e) { wdComponentAPI.getMessageManager().raisePendingException();
        //@@end
    On pressing Upload button, name of selected file is being shown(Statement 1). I am also getting Statement 2 in the output. However I am not getting Statement 3 onwards.
    Where am I going wrong? Can anyone shed some light on this?

  • Help! Want to read from a xl file and get an output voltage value!!!

    Hello..
    I`m a beginner, so please help..
    My program should output an voltage value that is read from an xl-file with one collum. The most important is that each values in the xl graph should be read per iteration. So that the file is read over time. I want to use this xl file to controll the output signal over time.
    Can anyone show me how this VI would look like, and what would the xl file look like??

    The easiest way to do this is to save your Excel file as a comma or tab separated text file and not the native Excel format. Then you can use Read From Spreadsheet File (on the File I/O palette). Using this, you can read the file all at once and then just have a 1D array that you can wire to a while or for loop so that with each iteration of the loop, you get one element in the array. A for loop automatically indexes an input array. Reading the file all at once will be more effecient that reading the file line by line.

  • VBScript to read the content of a .csv file and delete old files mentioned in the .csv

    I have a Windows 2003 file server.
    I have generated a report in .csv format, about the files which are older than 1 year.
    I need a VBScript to read the .csv file and delete the files which are enlisted there.
    Can someone please help me with this?

    Look into the "Learn" link above.  There are resources and instructions on how to write VBScript code.  Look into how to use the FileSystemObject.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • ITunes importing

    I'm new user for iTunes and I have my song files into folders structure, how can I add/import them? It works as in iPhoto which create its own database so I can delete original file from folder or itunes creates link to song?!? How can I import songs

  • Help with remote access to blog/wiki/webcalendar

    Greetings, righteous Mac community. I write to you as a brand-newbie in the Leopard server world, and I have found many posts here invaluable in helping me get setup and running. I have been unable to figure out getting the blog/wiki/webcalendar work

  • ITunes report missing msvcr80.dll

    iTunes report msvcr80.dll not found and cannot start. Could anyone help?

  • How to maintain Proportional Factors in SNP (not in DP)

    Hi Gurus! I want to maintain proportional Factors in SNP but could not know how to do. I read saphelp and know that we have to set up as following Steps: -In Planning Area:          1.Set the Keyfigure calculation type For Key Figure KF1 to P or I   

  • SunCluster fail to startup

    Any idea the possible of the cluster startup fail ? Error meesage attached Recent Error Messages on sunpax2 May 31 23:20:49 sunpax2 ID[SUNWcluster.pnm.pnmd.2002]: initial: Bk_gp (nafo0) St atus (OK); Adp (hme0) Status (OK) May 31 23:20:49 sunpax2 ID[