Printing and saving TableView?

Hi all,
I have a tableview in my iView.
I want to print it and also save it to Microsoft Excel sheet.
How shall i achieve the two above?
Would really be thankful if you could help me on this.
Thanks
saurabh

Hello Saurabh,
For exporting data from a simple JSP page, the following code can be used:
<%@ page language="java" import="java.io.*" %>
<%
   String result = new String("");
   result="IDtNametDatetAmountn"+
   "1tTnameAt4.1.1999t200.12n"+
   "2tTnameBt03.10.2000t2000n"+
   "3tTnameCt22.12.1989t400.60n";
   response.setContentType("application/vnd.ms-excel");   
response.setHeader("Content-Disposition","inline;filename=" + "Test"+".xls");
   response.setHeader("Cache-Control","no-cache");
   PrintWriter pout = response.getWriter();
   pout.println("");
   pout.print(result);
   pout.close();
%>
However, for JSPDynpages, you may need to do some slight changes, if required. I've not tried this code for a JSPDynpage.
You may also refer this <a href="http://es.actuate.com/eSeDemos/index.html">link</a> for implementing the other possible solutions.
Bala

Similar Messages

  • Set The Secured Files, Not allow printing and saving to another location

    Dear Sir / Madam,
    Please help...
    Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
    Thanks,
    Alex Tai

    Hi Alex,
    Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
    Based on my tests, users can save the document with only Read permission, which is by design. If you don’t want users to print files, please do not give the print permissions on printers.
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • I have secured PDF documents to prevent printing and saving the document. Why PDF plugin built into Firefox allows you to skip the security?

    I am using PDFfactory to secure the PDF documents in my company. Despite this, users can open the document in Firefox and print, and save it locally. This is unacceptable because of the ISO standards process in my company. Please help ASAP.

    ''dzuniek [[#question-1046197|said]]''
    <blockquote>
    I am using PDFfactory to secure the PDF documents in my company. Despite this, users can open the document in Firefox and print, and save it locally. This is unacceptable because of the ISO standards process in my company. Please help ASAP.
    </blockquote>
    I think the first course of action would be to try securing with a different authoring program (if you have access to one) and seeing if you have the same problem.
    As for the downloading and printing side of it, even with a protected PDF, anyone with the intent and a little knowledge will be able to download it. Or screenshot each page in their viewer.
    One way to prevent them getting a usable print is to create a solid annotation field across each page of the document. It will be invisible whilst just being viewed but when printed the annotation field will cover everything, thereby producing a blank page.
    Is it fair to ask whether a pdf is the best way of presenting information that you do not want them to download and subsequently print, seeing as that is exactly the reason PDF's exist?

  • Printing and saving pdf files backwards

    When saving a document created in Word as a pdf file either through the Word Print menu of using Acrobat Standard, the document in question saves/prints/converts in reverse order. Have checked all the obvious protocols, but no luck. Does anyone have anything on this? Am Using Word for Mac and OSX 10.4.5 Cheers.

    The Paper Handling Panel is one of the panels in the Print Dialog, under Copies & Pages. It has the settings that control the order of the output. I hope this helps.

  • ImageObserver, Printing, and saving as GIF

    My application has a page containing photos (images). Not all of these can be seen without paging down.
    When rendering on the screen, I use graphics.drawImage( ... ), which returns immediately and uses the ImageObserver interface to update the screen as more of the image arrives.
    When printing to paper, by some 'magic', the whole image is rendered, even if it was not previously shown on the screen. I suspect that drawImage( ) somehow waits until the whole image is available, before it returns. I may be completely wrong here.
    My problem is that I also want to save the images as GIFs. I create an off screen bufferedImage, and render them to that. The trouble is, if they have not yet been shown on screen, graphics.drawImage( ) is returning immediately, and I end up saving a GIF with no picture in it. This all takes place on a background thread.
    Does anyone know any 'magic' that I can use, to tell drawImage that it is ok to wait until the whole image arrives?

    You need to implement your own ImageObserver that will wait till it infoflags will have ALLBITS set and then draw ImageContent to BufferedImage (and print it).
    Use Toolkit.getImage() and Toolkit.preprateImage() to trigger image load.
    Some subtle things:
    1) Do not use Toolkit.createImage() because it will not use cahced copy of image and will trigger new download
    2) prepareImage may return true if image is already prepared. Then observer will be never called.
    Check for return code and call it explicitly.
    Alternatively you may simply use ImageIO to load image for printing. This is very straightforward and ImageIO has generally better support for images. However, there is no way to reuse copy of image that was loaded for display, it will always load it again.

  • Printing and saving border selection

    This question has two parts:
    1. When I try to select several row and columns and create a border, when I select the top border then try to select the bottom, it deselects the top one. How can I create multiple borders at once?
    2. I cant figure out why it will not print the borders. Do I have to save my border selection? If so, how do I do it?

    Hello
    select the block of cells
    In the Inspector click the button with a cross
    select the thickness (I choosed 1)
    select the color ( I choosed red)
    Then click the button with a surrounding square
    select the thickness (I choosed 1)
    select the color ( I choosed red)
    I printed it and got:
    Yvan KOENIG (from FRANCE jeudi 13 mars 2008 21:24:10)

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as

    I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as a PDF. Can anyone give me some tips on how to fix this? Thanks!

    Ask in the program forums
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • I have PSE13 on my system.  It was functioning properly and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to c

    I have PSE13 on my system, Windows 8.1, 64-bit.  It was functioning properly after installation and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to check your printer settings before printing."  and then this statement:  "Default printer could not be opened."  I have reloaded drivers for both printers and made any upgrades possible.  It was working fine before and now all of a sudden, nothing.  Would prefer to have old PSE v.12 back, it worked with no problems.

    See this thread
    My Photoshop Elements 13 doesn't recognize my Canon PRO-10 printer. I've tried EVERYTHING. Reinstalled all my software, didn't fix anything. Can anyone help?

  • I cant print and get this message, "adobe elements, "the saved printer information is not compatible with this version of photoshop elements, or the saved printer is no longer available. you will need to check with your printer settings before printing."

    I keep getting this message when trying to print in adobe elements, I am using a new Epson WF-3640 printer
    "the saved printer information is not compatible with this version of photoshop elements, or the saved printer is no longer available. you will need to check with your printer settings before printing.

    Hi,
    If you are working in PSE13, please update it to latest PSE13.1 update available and see if it helps.
    To apply update, you can go to Help > Updates and there you can see PSE13.1 update.
    Thanks,
    Anwesha

  • I am unable to print bank statements and saved bank statements with my Mac.

    When I updated Firefox to 5.0, everything worked out fine printing the bank statements and saved bank statements. Now, I am unable to print statements from one bank only. No problem with statements from other banks. Where is the hang-up?

    You should try to start in safe mode which runs a file check. You hold the shift key down during a start up till there is a progress bar towards thr bottom of the screen. This start will take a longer time than normal. In safe mode try the functioins you are having problems with to see if there is an improvement. Some links below to read.
    http://support.apple.com/kb/ht1564
    http://support.apple.com/kb/ht1455

  • Hi, i have just scanned some docs via my Ipad  and Epson printer. Saved them on a local folder! Where can i see and access this folder?

    Hi, i have just scanned some docs via my Ipad  and Epson printer. Saved them on a local folder! Where can i see and access this folder?

    Welcome

  • All CAPTURE AND PRINT files saved on my mac are blank -what is the problem

    I installed the Capture & print Add-on on my Macbook Air and captured areas of several web pages and saved them to a folder on my desktop. All the add-on files are blank with zero data captured.
    What must I do to remedy this.
    Many thanks for assistance.
    Ant Johnson

    How did you save them? Did you paste the captures into an image editor and save the image?
    Support for that extension can be found here: http://forums.mozillazine.org/viewtopic.php?f=48&t=2318993

  • I installed a new printer and set it as the Windows default printer but Thunderbird won't find it.

    Using Windows 8.1 - x64 - Thunderbird 31.3.0 (Firefox 34.0.5 has found the new default printer)
    I read about resetting printer.printer_printer and printer_printer but....
    printer.printer_printer did not exist in the file.
    Then I found printer_printer and chose "reset" closed and saved the file then closed and restarted Thunderbird.
    But now the printer_printer command has disappeared completely from the file and the old printer info was left unchanged.
    Then I went to the Windows "Printers and Devices" menu and deleted the old printer that Thunderbird was pointing to.
    Then I closed Thunderbird again restarted Thunderbird and now the "print" command in the file menu is greyed out.
    (Also the old printer info is still unchanged in the config file )
    I would reinstall Thunderbird and just start over except I have about a dozen email accounts on several servers and have spent a lot of time recently on reconfiguring them to work on upgraded servers. Also I don't know how to save my emails if I reinstall Thunderbird (Is it possible to do this?)
    I've googled for ideas but haven't found anything beyond the reset function.
    Any help would be appreciated. Thanks.

    I've rebooted numerous times, reloaded the software twice, spent 4 hrs on the phone with HP and 2 with Adobe. No luck. It simply doesn't show the new printer in the drop down menu for Pro or Reader and yet shows time in all in Office, Paint, Web options. Any suggestions would be greatly appreciated! Thanks!

  • I use pages to draft forms that i repeatedly use in my business.  Last week i drafted a legal document and saved to my file. now i get message that it won't open without newer version of pages but i have the latest version  whats up??

    I use pages to draft forms that i repeatedly edit and use in my business.  Ex:  letterhead, envelopes, and legal forms.  I recently drafted a legal form
    for a client.  saved it and then reopened and printed the next day.  now when i try to open that form, ( or letterhead or envelope) i get a message that
    it wont open and that i need a newer version of pages.  but my pages software is up to date.   Whats up with this??

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

Maybe you are looking for

  • Tabstrip does not save when first clicked

    After I set all the input field to be required for my 3 tabs in my tabstrip, I am only able to save the data in text field after I click the save button the second time and not the first time. Clicking Save button first time: http://img407.imageshack

  • Can't install a 750gb. keep getting errors

    Ok. I have a g5 dual 2ghz powerpc tower. I have been noticing some problems with the hard drive, taking longer to find things, when I verify permissions, it came up with errors, even told me a couple of times that it could not finish because of probl

  • How to remove the empty lines in the generated XML?

    Hi, XML/JDOM experts, I used JDOM to generate an XML file in my exercise of comparing two xml files. I used a lot of times addContent()... The resuting xml is fine for its contents. But I don't like so many empty lines (or carriage return). Would you

  • Production Order Basic Finish Dates

    Our plant managers expect production order start and finish dates to freeze at release, even when operation confirmations are not made according to schedule or when the component availability situation changes.  Is there a way to freeze the productio

  • How to import msg files into Outlook with Powershell

    Hello, I want to import contact msg files on the file system into Outllok. Before I want to delete all contacts in this contact folder. Can you show me how please. Frank