Display a file inside JSF

Hi,
I need to Display a file inside JSF with option to change the key of this file by a fildes.
Do you have an example how to do it?
Is it a servlet?
I'm programing in a server side..
Please help me.
Have a best weekend!
Yael

yael800 wrote:
I need to Display a file inside JSF with option to change the key of this file by a fildes.Huh? What are you saying?

Similar Messages

  • How to display PDF file, inside the SWF file or flash exe file

    I  have create the application for Employee details using flash actionscript 3.0
    This application is to view the organization employee details, iam using the tree component in this application,
    the tree component is to get the dada via xml file, this xml file save in the remote server ,
    I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the  player Adobe Air 2.6 and run the flash file using
    ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
    The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
    Pls Help...................

    hi i need to display the pdf file inside the swf file or flash exe file .
    I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
    Please suggest.

  • Display PDF File in portlet!!

    Hello
    I need to do almost the same thing that David but my users will upload pdf files and I need to display the file inside the portlet folder when they click the name of the item I don't want this item to be display in the whole browser. Please tell me how can I do that.
    Thanks in advance
    Ana Maria

    You can solve this by using an iFrame.
    The Definition of the iFrame can be made in an HTML Portlet or create it in a Dynamic Page (prefered).
    By giving the iFrame the name "_blank" every item that opens in a new page, the presentation will be shown in the iFrame Portlet, together with the default Acrobat Reader buttons.
    This works best in IE5.5.
    HTML Portlet:
    <iframe src = "http://otn.oracle.com"
    name = "_blank"
    width = "100%"
    height = "600"
    frameborder = "0"
    scrolling = "auto"
    marginwidth = "0"
    marginheight= "0">
    sorry, your browser doesn't support iFrames
    <ilayer src ="http://otn.oracle.com"
    id ="_blank"
    >
    </ilayer>
    </iframe>
    Dynamic Page source:
    <HTML>
    <HTML>
    <HEAD>
    <TITLE>iFrame</TITLE>
    </HEAD>
    <BODY>
    <ORACLE>
    declare
    l_src varchar(50);
    l_name varchar(10);
    l_border number;
    l_width varchar(5);
    l_height varchar(5);
    l_scrolling varchar(5);
    l_marginwidth number;
    l_marginheight number;
    begin
    select :source into l_src from dual;
    select :name into l_name from dual;
    select :border into l_border from dual;
    select :width into l_width from dual;
    select :height into l_height from dual;
    select :scrolling into l_scrolling from dual;
    select :marginwidth into l_marginwidth from dual;
    select :marginheight into l_marginheight from dual;
    htp.p('<iFrame src = "http://'|| l_src ||'"');
    htp.p('name = "'|| l_name ||'"');
    htp.p('frameborder = "'|| l_border ||'"');
    htp.p('width = "'|| l_width ||'"');
    htp.p('height = "'|| l_height ||'"');
    htp.p('scrolling = "'|| l_scrolling ||'"');
    htp.p('marginwidth = "'|| l_marginwidth ||'"');
    htp.p('marginheight = "'|| l_marginheight ||'">');
    htp.p('sorry, your browser does not support iFrames');
    htp.p('<ilayer');
    htp.p('src = "'|| l_src ||'"');
    htp.p('name = "'|| l_name ||'">');
    htp.p(' </ilayer>');
    htp.p('</iframe>');
    end;
    </ORACLE>
    </BODY>
    </HTML>
    Giving the bind variables LOV's will complete this to a nice new component!
    Good luck!
    Kind regards, Frank

  • Displaying PDF file in forms running on UNIX server

    I want to display a PDF document in the form.
    I have explored the following two options:-
    1) Using Image item - PDF format is not supported by forms
    2) OLE - Is supported only on WIN and MAC
    Does any body know of any reusable java bean that can be used to display PDF file inside the form?
    Thanks

    Java Beans only work on the Web. If you are on teh Web then an option would be to reference to the pdf document by using web.show_document() built-in
    Frank

  • How do we display .doc files or .pdf files inside flex containers like Panel or Canvas?

    How do we display .doc files or .pdf files inside flex containers like Panel or Canvas? (i am talking about Flex web browser application and NOT air)
    thanks in advance.

    Perhaps I was not clear...
    We have a Word doc.
    We want to create a PDF doc from it.
    We want, in Word/VBA, to add content (annotation/text note=sticky) to the PDF from Word via VBA macro.
    What is the best way to do this?
    1. Use a VBA call to the PDF doc to execute the AcroJS (we would pass the content, location, etc for the note in the call) - what is this VBA call that will execute AcroJS in an PDF doc?
    2. Use AIC OLE objects to access the PDF doc.
    From your last answer - it sounds like I cannot add the annotation to the PDF from the Word VBA macro - is that correct?
    Our content is already in the Word doc - We want to execute a macro in Word that will add content to the PDF doc  - can this not be done in Word?

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • Open an html file inside spry collapsible panel

    Greetings,
    Using CS5
    Does anyone know the CSS code/possibility of opening an html file inside the Spry panel?
    I've tried the following code:
    .CollapsiblePanelContent {
        background-image: url(lookoutgraph.html);
    Is there a better CSS element for calling up an html file?
    For what it's worth...the html file I'm tring to open uses a <canvas> tag. When opened by itself, the html file has no problem opening and displaying the canvas data.
    Much Thanks!

    With the exeption of images, to add external content to a document you will need to make use of either serverside or clientside code.
    Have a look at the SpryHTMLPanel here http://labs.adobe.com/technologies/spry/samples/htmlpanel/html_panel_sample.html
    Otherwise, please supply a link to your site so that we can come up with alternatives.
    Gramps

  • Is it possible to open up an excel file inside a Web Browser not IE?

    I'm trying to find out if it is possible to open up a pivot excel file inside the a web browser, but i don't want to use Internet Explorer for that i'd prefer firefox for that.
    I have a web application that uses an excel file for one of its reports but i don't want the user to have to download the file in order to view the report and that particular report has various ordering criteria so i don't want any of the funtionality of the file to be lost in the process, so is it possible to do it? what tools would help me acomplish that?

    I don't think this is possible.
    You may be able to make it display in Firefox if the file is defined as the XML Excel format and not the xls or xlsx formats. But that would require saving the file differently and you would most likely loose all/most functionality
    You may find some Excel translators in Java (most notably POI from Apache). But they would still require you to adapt them to web format and you would have to duplicate much of the Excel functionality yourself. So it would be a long term option.
    You could check out Google Docs. They have a spreadsheet application that I believe can convert Excel files to their format. You may be able to use it inside your web site with permissions.

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Need help in Displaying Chinese Character in JSF

    Hi. Good Morning!
    I'm having problem with displaying Chinese Characters in JSF. I've tried placing all the chinese words in the *.properties file however it doesn't work..
    The result in the browser is something like this.
    ���� ��������� ���� ��������� ���� ���������

    Hi,
    When you say that you put Chinese characters in
    *.properties files, can you be more specific? Did
    you use native2ascii to convert the files to ASCII?
    What is the character encoding setting for the JVM?
    Have you sniffed the HTTP headers? If so, what's the
    character encoding listed for the response?
    Answers to these questions should help you nail down
    the problem.
    Regards,
    PeterHi...
    I did not use any converter like native to ascii... an example of what I placed in the properties file is:
    title : &#20197;&#19979;5&#31181;&#26631;&#31614;&#30340;&#34920;&#38754;&#35201;&#27714;&#21015;&#26679;
    Request=&#26465;&#30721;&#31163;&#36793;&#26694;
    Tablehead=&#36879;&#26126;&#26631;&#31614;
    Note1= &#36879;&#26126;&#26631;&#31614;
    Note2= &#36879;&#26126;&#26631;&#31614;
    NoteA= &#21360;&#21830;&#26631;&#22270;
    then when i build the project in linux it turns out to be like this:
    title= ???
    Request=???
    Tablehead=???
    Note1= ???
    Note2= ???
    NoteA= ???
    The character encoding for JVm.. i haven't check that yet nor know how...

  • Opening html files inside jar

    Hi,
    I'm making a program where i have a set of help files in the form of html and i would like to open them when the user clicks the "Help" button and I used this code at first
    try
         Desktop.getDesktop().browse(new URI("resources/html/help.html"));
    catch (Exception ex)
         JOptionPane.showMessageDialog(null, "Could not open help.html in default browser\n", "Error", JOptionPane.ERROR_MESSAGE);
    }However after I made the jar and tried to execute on another computer however, it wouldn't work and would display the error message. I was wondering if there was some way that I could open the help.html in their default browser, or maybe a frame if that works, from the jar and have my program still be platform independent?

    ok so i just realized that it doesn't make sense for a program outside the jar, like IE or Firefox, to be able to access and open a file inside of the jar. I am now looking for suggestions on how to work around this problem for my program to be able to have a simple help system located inside the jar that can be loaded during runtime.
    Thanks for your suggestions.

  • I used tag to show PDF file inside my JSP page, It is working properly in IE but nothing shows in Mozilla. What should I do?

    I've used to display a PDF file inside my JSP page. It is working fine in IE. However, many of users of this application are using Mozilla and the platform is Ubuntu so it is vital that the file is shown in Mozilla as well. How can I solve this problem.
    == This happened ==
    Every time Firefox opened
    == I run my jsp page

    Such conditional code will only work in IE and not in other browsers like Firefox.
    You can ask questions and advice about web development at the mozillaZine Web Development/Standards Evangelism forum.<br />
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Design View not displaying external files...HELP!

    This is my second attempt asking for anybody's help. I'm using Dreamweaver 8.0.2 (OS X 10.4.11) and when I open "any" of my local files In "Design View" NO external files loads. Here's what I've done so far to no avail:
    Delete "site cache"
    Delete all pref files
    Made sure "Display External Files" is check
    Made sure "Style Rendering --> Display Files" is check (using screen media type)
    Check that my firewall is disabled
    Renamed local root DIR of site file
    Searched the web, forums, etc...none of the answers worked
    Reinstalled DW 8.....TWICE!
    2 weeks ago I did updates to my website and everything was just fine. And now, nothing is working. All I can see is text and all of DIV blocks...but all external CSS and INC files fails to load. Been trying to fix this for 2 days now. Can anyone "please" give me some ideas to fix this problem.

    Hi - without seeing the actual page code, I'll take a stab that possibly you've lost the link to your stylesheets...?
    If you view the code, somewhere inside the "head" tags (generally right under the "Title", you should have a reference to any of your external stylesheets/images, etc.) Something like this:
    <link href="name_of_stylesheet.css" rel="stylesheet" type="text/css" />
    If no images are showing up as well, my guess is that you've moved the page (or the images and stylesheet) into a different folder/or subfolder without updating the links.  Any time you move a file, it should be done within dreamweaver (and it will always ask if you want to update links). If you move a file without using DW, it will definitely break all links, and no amount of re-installing, re-caching, etc. will fix it (sorry)...
    If this is the case, the best way to rectify would be to move the file back to where you had it... if this isn't the reason for the broken links, you'll need to manually re-update all of the links because something else has broken the linkage... (sorry again...)
    Hope that helps,
    Jesse

  • Why is My MetaData Window of Bridge CS6 Displaying Incorrect File info?

    The File Properties tab in the MetaData Window of Bridge CS6 is saying that my file is 72 ppi but when I open my file in PS it is actually 300 ppi 15x10 inches. See screen grab below. I understand that 72 ppi at 125" x 41.7" is the same as a 300 ppi file that is 30" x 10" or 9000 x 3000 pixels dimensions. But why is bridge making this conversion and displaying the file resolution as being 72 ppi when the file is 300 ppi? Is there a preference setting somewhere that I need to change?
    When I look at these same files from another networked machine using Bridge CS6 the Metadata window is showing the files as being 300 ppi? Is there a setting inside Bridge somewhere that is making it show all files in the Metadata window as being based upon a 72 ppi resolution?

    jonnymo,
    I believe I should have said Yosemite/Column view.
    Has the issue appeared after an upgrade to Yosemite?

  • Accessing files inside JAR

    Hello !
    I have a HTML file inside a JAR file. The HTML file uses images and stylesheet located in the same dir in the JAR.
    I need to access the HTML file so that I can open it in a JEditorPane for displaying as a normal HTML. I've been trying to access it with some examples i've gotten from the forum from previous posts, without any success. Could someone PLS post me some examples or point me to a webbie with some tutorial.
    I've already tried the following:
    editorPane = new JEditorPane(this.getClass().getResource("/file.html"));Oh, it is a stand-alone application, and all the files are in the same JAR. =)

    Try it this way:
    editorPane = new JEditorPane(ClassLoader.getSystemResource("file.html"));
    -Ron

Maybe you are looking for