How I can open a file in format PDF

I need to open a file in format PDF from my application on Studio Creator.
I already tried this:
//code
Runtime.getRuntime().exec("gpdf file.pdf");
//code
where gpdf is a pdf viewer on Linux.
But it did nothing.
Is there any way to do this?
Can anyone help me, please!!!!?????
Thanks!!

Hi
Copy the pdf file to the resources directory of your web application. Drag a hyperlink component on to your page (say Page1.jsp) and change value of the hyperlink from http://www.sun.com/jscreator to resources/file.pdf
Run the application now and click on the hyperlink. Now the browser will open the pdf file.
Hope this helps.
Thanks
Srinivas

Similar Messages

  • I can't open any 60p .mov files in quicktime.  Footage was shot on a JVC GY HM150 which is supposed to record in native fcp format.  Any ideas how I can open these files successfully?

    I can't open any 60p .mov files in quicktime or FCP5.  Sometimes in QT the audio plays but not the video. Footage was shot on a JVC GY HM150 which is supposed to record in native fcp format.  Any ideas how I can open these files successfully?

    Get ClipWrap2 and convert to an editable format for your version of FCP5.
    Probably DVCProHD will work
    x

  • HOW I CAN OPEN .VOB FILES

    HOW I CAN OPEN .VOB FILES FROM QUICK TIME TO CONVERT FOR IPOD VIDEO?

    .VOB files are MPEG-2 format. QuickTime can't play them without the help of the MPEG-2 Playback Component ($20) and can't export the audio when "converting".
    MPEG Streamclip 1.5.1 (free) can convert the audio and video to .mp4 format for iPod playback. It even has an iPod preset that changes all of the file settings to iPod specs.

  • I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    Hi bert,
    the ".rm" extension is created by 'Real Media' application.
    The easiest way to use it is to install the 'Real Media' player:
    1. RealPlayer BBC.app
    2. RealPlayer 12.app
    I have both installed & use them sometimes.
    (The 'BBC' wersion doesn't have any adverts with-in the app.)

  • I received a Pages attachment in email, but I can't open it. Says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Received a Pages attachment in email, but can't open it. Error message says it's missing an "index.mlx" -- any idea what that is and how I can open the file?

    Many thanks ... after many trials and effort, the sender admitted he doesn't know what he did - he's new to Apple - so guess he'll have to get some training!  

  • Hello, I would like to know how I can open a file without downloading it? Thank you

    Hello, I would like to know how I can open a file without downloading it? Thank you

    matrix wrote in message
    news:[email protected]..
    > I tried that, attached is the vi.
    > My actual aim is to allow data to be plotted to the graph 4 24 hours,
    > after which, it should clear the chart and start at the beginning
    > agin.
    > Does this vi do this.
    No. The attached is the simplest way of modifying it to do as you want. I've
    sped things up a little to make it obvious.
    > Will the array be able to keep all the data, is there a way i can do
    > it without arrays, i.e. kind of dynamically, and therefore try to save
    > memory usage.
    You already are. You're making the arrays as you go along so only the memory
    needed for the data that's in the plot is in use at any one time. To do it
    without storing
    arrays at all you'd need to keep retrieving the data from
    the XYgraph, adding the new datapoint and writing it back. Messy and I
    suspect incredibly inefficient.
    You're going to use the memory in any case- a better option would be to
    pre-initialise an array and fill it slowly. At the end of each 24 hour block
    zap all the data and start again without destroying and recreating the
    arrays. Or if you're only doing the 24 hour wipes to save memory, simply
    start again at the start of the buffer woithout erasing the previous data
    and you always have 24 hours of data to liik at once the system's running.
    Do a search for keywords like "pre initialise" or "circular buffer" on
    ni.com
    [Attachment xy-time_modified.vi, see below]
    Attachments:
    xy-time_modified.vi ‏51 KB

  • How I can open phone files ?

    I successfully copying my phone data to my laptop. How I can open my phone files in my laptop ? I can open my phone files use what software ? Thank you for your answer.

    Now, there are two posts about the same issue, stick to one, please.
    What phone do you have? If your using a PC, how about Windows Explorer or My computer.
    Message Edited by hadimassa on 13-Dec-2009 06:15 PM
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How i can open external file in un src in Visual Studio?

    I have the version VS2012
    I try navigate in file with F12 like function definition but this not work
    <script src="~/Scripts/Inventory/Output/Create.js"></script><link href="~/Content/bootstrap.min.css" rel="stylesheet" />@{Html.RenderPartial("_Files", @Model);}
    Is there any way to do this? without having to go find the file in the file browser? (is tedious)
    if there is no way to do this I hope VS2015 already have this
    thnks in advance

    Hi ch2o,
    Based on your issue, I tried to use the F12 to find the JS or CSS file. I find that I get same result with yours, so I did some research about your issue. I find some similar thread for your issue, so I suggest you could refer it and then check your issue
    in your side.
    Reference:
    http://stackoverflow.com/questions/11776697/how-to-quickly-open-a-file-in-visual-studio-2012
    http://stackoverflow.com/questions/2667528/is-there-a-way-to-quickly-find-files-in-visual-studio-2010
    Best 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 I can open Image File

    I guess it is simple but I do not know how I can in this class open Image file. This code should go instead of the line:
    window.setSize(450,300);
    Please, help me.
    Pan.
    class ItemHandler implements ActionListener {
              public void actionPerformed( ActionEvent e )
                   for ( int i = 0; i < techItems.length;i++ );
                   if (techItems[ i ].isSelected() ){
                   window.setSize(450,300);
                   break;
                   repaint();
         }

    The easiest way is to use a JLabel where you have an image. Something like this:
    JLabel lbl = new JLabel(new ImageIcon("icon.gif"));
    JPanel p = new JPanel();
    p.add(lbl);
    Klint

  • How i can open dir file created by latest version of director, by older version director?

    Hi
    several director files reveive to me.
    They created by director 12.
    I have director 11.5.
    When i open these files they can not open and director show error:
    File is too new.
    Is it possible we use this files by 11.5?

    200x200 wrote:
    Hi
    several director files reveive to me.
    They created by director 12.
    I have director 11.5.
    When i open these files they can not open and director show error:
    File is too new.
    Is it possible we use this files by 11.5?
    See this topic: http://forums.adobe.com/message/5206603
    cheers

  • How i can open zip file

    i can't open and zip file

    On Windows, install 7-zip; on Mac, use built-in zip, unzip commands from Terminal.

  • How i can open a zip file xlxsand the zip

    how i can open the files xlxs

    That kind of file format is based on Open XML Office 2007 & later Document File.
    You may have an application that could open the file, such as an iWorks application, or some other one. There also may be a way to save the file as something else more readily seen in another application, such as .pdf. If you have some versions of Word, it may be able to handle the file content, it could become a .doc, etc. If you have MS Office for Mac, it should be able to open or convert this.
    Some information and also an online file conversion is available from following site. I  have not tried it to see how it works, and as it would not be secure (not https:// page) consider that, too regarding content if uploaded to convert. While the converter itself may be marginal or worthless, the other free information may be helpful to know. And anything else there could be considered bait until proven otherwise. I do not know how valid the following link is, but you could search google for XLSX to Office for Mac (or Pages?) conversion information. Depends on what software your Mac has. LibreOffice or another free office-like suite could be downloaded to see if it'd handle the file format or conversion. Those site links are a search away, too. NeoOffice is another one.
    claims to convert the file to xls; has other info.
    http://www.zamzar.com/convert/xlsx-to-xls/
    Not sure if this helps...
    Good luck & happy computing!

  • How do I open a file with an .msg extension please?

    Hello, can anyone tell me how I can open a file with an .msg extention please?

    On a Classic operating system, which predates 2001, it may be difficult, except with a really old version of BBEdit Lite from http://www.barebones.com/
    Newer versions of BBEdit or Textwrangler can probably also open it if you don't have a Classic operating system.
    Microsoft Entourage and Outlook can probably also open such documents.   Outlook Express was available for Classic operating systems as well, but it may be too new for it to read those documents.

  • I had iwork 08 installed on my Mac. Now that I have upgraded, none of my documents or spreadsheets work with Maverick. How do I convert to iwork 09 so that I can open these files?

    How do I convert my files to iWork 09 so that I can open my files in Maverick?

    You  simply open the old files in the newer versions of iWork that work with Mavericks and the iApps should automatically convert the old file format to the new one.. but once that's done there's no going back to the old iApp version with your docs.

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

Maybe you are looking for