upload file excel and read its content

Hello

Is it possible to read the contents of an excel file (uploaded by an end user) with fatwire (or sites)?

I don't think it's possible to use the Servlet... nor the filereader javascript (compatibility issues)?

any suggestions?

Kind regards.

Ghazi.

Hello

The solution:

Page template: /Page/Upload.jsp

tNom = ' / Page/result ' c ='< %="ics." getvar("c")="" %="">'cid ='< %="ics." getvar("cid")="" %=""> "/ >"

Page template: /Page/Result.jsp

<%

File ff = new File ("C:\\Temp\\" + ics. GetVar ("file_file"));

FileOutputStream fileOut = new FileOutputStream (ff);

byte [] dataBytes is ics. GetBin ("file");

fileOut.write (dataBytes);

fileOut.flush ();

fileOut.close ();

%>

Kind regards

Ghazi.

Tags: Fusion Middleware

Similar Questions

  • Acrobat Pro XI does not work as it has been advanced as what conversion of Pdf to Excel it changed its content

    When convert us a pdf file to excel it changed its content for an example see this Pdfsample.jpg

    Convert excel like this

    sample 1_Page_1.jpg

    Any body can help solve this problem

    Contact me

    [email address removed by the host of the forum]

    It works exactly as it is supposed to. If you save a file to a spreadsheet Acrobat PDF expects the page to hold tabular data, because it is all Excel can work with. Your PDF has no table and a bunch of complex formulas and fonts LTR Excel simply can't stand.

  • Thanks for your help. I can look to iCloud by car and see its contents. However I can't iCloud pictures like this to see the content, etc. This is the reason why I wanted to disconnect from iCloud. I had hoped to sign new one

    Thanks for your help.

    I can look to iCloud by car and see its contents.

    However I can't iCloud pictures like this to see the content, etc.

    This is the reason why I wanted to disconnect from iCloud. I had hoped to reconnect and see if I could get then in my photo iCloud content!

    Maybe I have the wrong approach?

    can you tell me if the Photos on my iPad and iCloud photos are one and the same?

    any help appreciated...

    They should be the same.

    To display your iCloud on your iPad photo library you're following the steps below?

    Go to iCloud.com using Safari.

    Keep your finger pressed on the semicircular arrow at the end of the URL bar.

    Press "Ask site desktop."

    Connect to your iCloud account.

    Tap the photos icon.

  • TDMS files viewer and view the contents of the DDHN does not give the same answers.

    I am hoping that there is a simple explanation for this problem.  If I use the PDM File Viewer, it can successfully open my data files large experiment.  The contents are listed without any problem.  Now, if I use the VI of PDM list content, I expect to see the names of groups and channels without data in an indicator.  Instead, I get only 1 group and its associated channels.  Why this discrepancy? Thank you.

    *.Tdms_index always write protected files? Could you try to delete the index files and open the files without them tdms (LabVIEW will generate new files to index if you do that)?

    Herbert

  • out the anchor text block and copy its contents

    Hi all

    I have a script that will be able to anchor to InDesign text block and it works well. Now my problem is that I released that anchored text frames and then copy its contents the same position where the text block was at anchor.

    Here's what I do:

    1. find and block of text of a document (using the find object, anchored by its applied object style).

    2. release the anchored object found.

    3 copy its contents the same position where it was anchored.

    For 1 and 2 rep, I maybe able to do but point 3 I have no idea.

    Hope someone can lend me the time to solve this problem.

    Thanks in advance for any help.

    -elmer

    then, instead of myFrame.releaseAnchoredObject (); use myFrame.remove ();

  • Can I save Firefox by copying the Mozilla folder and all its contents?

    I'm currently back up Thunderbird by copying its folder in appdata/roaming. I can do the same thing to back up Firefox by copying the Mozilla folder and all its subfolders?

    Yes.

    See also:

  • I would like to close a hotmail account and move its contents (emails, contacts,...) to another hotmail account. Is this possible?

    Sorry for my English. I hope that it is admissible.

    I thought it would be easier if somehow, administrators may close a hotmail account and transfer the content to another.

    Because I found very difficult to spend hundreds of emails from one account to another to not lose them when the account is closed.

    I thank very you much for your time. Kind regards.

    Hi Clara.

    For a more specialized on issue of Hotmail help, post your query on the Windows Live Forum.

    Windows Live Forum - http://windowslivehelp.com/product.aspx?productid=1

    You can see the article below

    Windows Live Hotmail Top issues and Support information

    http://support.Microsoft.com/kb/316659

  • Barcode Excel and read the data

    Hello

    I'm creating a program where I would like to scan a barcode in LV and there LV scan a spreadsheet excel for this barcode and returns the data in this row. I found an example online that allows the discovery of bar code number in excel, but I'm not coming with a strange issue when you try to view the information in this row. My program is the correct barcode in all cases. Only when I get the number of rank 1 line information will be correct. When I enter the information in row 2 lets say it shows the information of line 3. When I enter the tier 3 program line 5 information display. Attached is my draft of the code (this is my first stab at ActiveX control so bear with it please) and a worksheet example I created with some information on how the program works. I have checked the other posts for similar problems and could not find one this hepls with my particular issue. I also checked the thread specific excel but found no link to the code that can help. Any help is appreciated. IM thinking that I'm more looking for something, but since this is my first shot at this type of programming im not very well what it is. Thanks in advance for any information.

    NYC says:

    The other thread is not VI or Excel.

    I'm curious to know what is happening in the VI, but I can't open it.

    It's the same question, except that this time the OP has provided a follow-up saying: ' OK, here's what I got, and it does. ' " Why? "I would have just kept in this thread. No matter what.

    In any case your mistake is that you don't want to connect the line found on all of the methods of Range.Item (get). You must connect a constant of 1 for 'Row' parameters for these two. As you operate on a found range, you don't want to change the line.

    As it is now your VI does not close Excel when finished. The Excel process continues to run in the background. See the example with LabVIEW, which closes Excel when finished.

  • Can my Smart TV (KDL32W700B) and read the content of hype?

    Wondering if I can access my account through my Sony Smart TV hype?

    It would be a perfect thing.


  • Need expert help! CD player does not read the contents of the disc. Help!

    I searched and tried everything what we can imagine and impossible to find a solution. I can also restore because I don't really know this error at startup. Here are the symptoms and fixes I've tried. If there is someone out there who could help me it would be greatly appreciated!

    System:, I have XP w/SP3 installed. Dual-Core 3.0 G w / 3G P5N72T - MB Ram, HD 300 G, Asus CD/DVD Drive.

    Symptoms:

    • I had my CD player connected via PATA ribbon cable and my hard drive connected via a SATA cable.
    • My CD player will not autorun when an installation disc is installed.
    • My CD player will not read or display the contents of the disc when I use the file Explorer.
    • My letter of CD drive is D:\ and always appear as one of the discs.
    • When I use the command "run" and type: D:\install or D:\setup a windows "disk is not formatted" error appears stating "Windows is unable to read the disc. The disk might be corrupted or it could be in a form that is not compatible with windows.
    • My Green CD player will sweep on and I can hear it turn every time I try to explore the files or after I insert a disc, but she never autoruns, or displays content.
    • I decided to buy a new SATA CD drive and installed, unfortunately it does not work either exact problems remain.
    • I have two CD drives to another computer and they both work. So I know this isn't the disc or the lens.
    • I ran the utility Microsoft Fix It and she finds nothing wrong.
    • I ran the TweakUI to make safe autoplay features are on.
    • I did all the registry fixes proposed by microsoft and online forums. i.e. upper and lower, filters etc.
    • I removed the device from Device Manager and reinstalled.
    • I ran a virus, spyware, malware, and everything is clean.
    • I have the latest version of the system bios and all settings are fine. Most are on Auto that are associated with the detection.
    • Type of device DMA modes are selected in automatic detection.
    • If I could read a disc that I could try to reinstall windows XP, but it is not an option now until my CD player is fixed!
    • I don't have any installed like Nero buring CD software.
    • I actually installed Nero Light to see if it would read a disc, and of course I can see the disk and copy its content to my hard drive or take an image of the disk.
    • I tried to rename the drive, disconnect the drive.
    • I'm sure I tried other things, but can't remember right now!

    Thanks for your help in advance!
    Mike

    Hi msavage2000,

    It seems you have tried most of the steps to solve this problem. However, we would like to know if the drive does recognize the drive?

    As we know readers work, I would like you to try a new PATA/IDE cable and check the result.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Acrobat Pro read the content in the pdf file and turns?

    Acrobat Pro reads the content in the PDF and Fourier Transforms to xls files without need of a lot of changes or manual work?

    Acrobat X (Standard and Pro) will save tabular data in XLS or XLSX format, it can recognize the table as being a table. If the PDF file has missing or incorrect structure tags, Acrobat will try to guess the tabular presentation by the position of the text and lines on the page - this works well for basic formatting, but if the table has a complex style, spans cells etc. it can cause problems.

    Acrobat X will try to export a table in a scanned document, by applying the OCR during the stage of export - yet once this is based on the table identified visually.

    See http://www.adobe.com/products/acrobatpro/pdf-to-word-excel-converter.html and this article on how to extract an array of a larger document.

  • After I restart my iMac and double-click on the hard drive, a pop up appears with this message: 'the 'Hard drive' file cannot be opened because you don't have permission to view its contents.'.  What is the problem?

    After I restart my iMac and double-click on the hard drive, a pop up appears with this message: 'the 'Hard drive' file cannot be opened because you don't have permission to view its contents.'.  What is the problem?

    Is the name of an external drive or internal one?

  • How to read data from an excel and HTML file

    Hello

    I write a 2D-array of string in Excel/HTML file using the generation of reports.

    Can someone tell me how to get back in return, the written data, same files again and display in table format.

    Thank you & best regards

    Visuman

    You can use activex to read data from the excel fileback to the table format... through this vi... may b this will help you...

  • Have windows 7 installed and office 2007. Cannot open the old excel files. Error reading .xlsx is not a valid Win32 application

    Have a new laptop with Windows 7. Responsible for Office 2007. Cannot open the old Excel files. Get the error reading .xlsx is not a valid Win32 application when I try to open the file.

    Right-click on the Xlsx file and select open with.  Then find Excel and make sure that it is selected to always open with this program.  Click OK, and then see if it works

  • 'Lightroom encountered and error while reading its preview cache and needs to stop smoking' I have LIghtroom 3 catalog Previews.Irdata; should I remove all three files?

    I get this error several times when I use Lightroom. "Lightroom encountered and error while reading its preview cache and needs to stop smoking" tells me to remove the preview folder.

    I have LIghtroom 3 catalog Previews.Irdata; should I remove all three files?

    LAR

    Lightroom Catalog  Previews Irdata.jpeg

    Simply remove the Previews.LRDATA folder that bears the name in the catalog file, you are trying to open.

Maybe you are looking for