Need help displaying HTML files stored in content repository

I have a very simple HTML file stored in a binary attribute (so the file could
be uploaded through the Admin Portal) named "html" in the BEA Repository (8.1sp2)
and would like to display it in a JSP. Here's a snippet from that JSP:
<cm:getNode path="<%=myNodePath%>" id="myNode"/>
<cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
I expected the getProperty tag to fetch the HTML file and render it inline, but
I guess that's wishful thinking. Am I missing something?
Thanks for any help!

I added transactionTimeout="30" to the tag shown below. That did the trick, as
long as I avoided certain combinations of tag attributes. Guess this one's a little
moody.
Thanks, Greg.
Gregory Smith <[email protected]> wrote:
Try setting the transactionTimeout to something greater than 0 on the
<cm:getProperty> tag.
Greg
Marc N wrote:
I have a very simple HTML file stored in a binary attribute (so thefile could
be uploaded through the Admin Portal) named "html" in the BEA Repository(8.1sp2)
and would like to display it in a JSP. Here's a snippet from that JSP:
<cm:getNode path="<%=myNodePath%>" id="myNode"/>
<cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
I expected the getProperty tag to fetch the HTML file and render itinline, but
I guess that's wishful thinking. Am I missing something?
Thanks for any help!

Similar Messages

  • Help URL in the Table Title Edit- need help on html file creation

    Hello All,
    Can you Please let me know how to create an html file for the help url in title? Can I have the sample text and the exact location to place the file. I guess it is under analytics res\images?
    Thanks for the Help!!
    Thanks
    SR

    Your question is not clear, for Title of window check the below code, for custom Help file in BI check this link https://forums.oracle.com/thread/2569872
    <html>
    <head>
    <title>Title of the document</title>
    </head>
    <body>
    The content of the document......
    </body>
    </html>
    if helps mark

  • How to display HTML file from Unix server on UI at runtime

    Hi Experts,
    My requirement is to display  HTML files,  related to some particular person, on UI. The file is existing on a separate UNIX server and a file related to one person may have a lot of attached files as well , as is the case generally with HTML files, including pictures etc. So it is no use transferring file on my CRM system, as the files are kept separately on this UNIX server which is particularly for this kind of storage.
    I am able to show files residing on MIME repository ( I created some new HTML files )  of my CRM system on UI. but I don't know how to go ahead with this particular requirement.
    One idea is that I can map one folder of my application server to that unix server so that I can see the HTML files in this particular folder. but I don't know how to map MIME repository folder to application server directory or directly to the UNIX server .
    Please advise. Is my approach correct or is there any other way ?
    thanks in advance.
    Regards,
    Vikas

    Maybe this is too simple, but have you got an HTTP server on the UNIX machine? You could simply link the URL into you CRM application and display the contents directly from UNIX.
    cheers Carsten

  • Html file in the content of email.

    hi friends,
    I want to send email in the html format.
    can we pass the html file in the content of mail?
    i.e instead of doing this
    messageBodyPart.setContent("<html><body> " +
    "--------------------------------------------------------------------------------<br><br>"+
    ""+firstLine+"<br><br></body></html>" );
    can I directly pass the html file?
    Also if we have images in the html is there any way that instead of hot linking the images we can attach them with mail?

    Supplying the html content using a file instead of a String is easy:
    messageBodyPart.setDataHandler(new FileDataSource("file.html"));
    To include images in the message is harder, see the FAQ.

  • Since yesterday's (Nov 6th) update, firefox fails to load any sites from web (still displays html files from PC). I tried restore, didn't help.

    I've installed the recommended update yesterday (Nov 6th) but didn't restart Firefox. Since restarting the computer this morning, Firefox has failed to open any website from the web. The connection is ok, explorer loads the sites normally, Firefox opens tabs as normal, it's just that the content of the pages doesn't show up, and after a while we get messages like "connection timed out". HTML files that I have stored on my own hard drive display normally in Firefox.
    I tried "restore Firefox" but it didn't help.

    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Help with html files when placing Web Content overlay

    Hi there,
    We have an educational app with lots of interactive exercises - all of which were initially designed in Flash.
    I have converted the fla files into hmtl using Wallaby. For each fla file, Wallaby creates a js, css and html file as well as an assets folder.
    When I place the Web Content frame, and link it to the html file, do I link it to the actual html file Wallaby created? It won't let me select the folder with all of the files in it as is, and I can't link it to a zip file either... So how does it recognise the assets if I only select the html file? (see screenshot)
    Or do I need to add an HTMLResources folder and link it to that?
    Thanks in advance for any help given.

    You link to the HTML file but make sure these things are in their own folder or InDesign will add EVERYTHING in the folder that has the html file in it.
    Bob

  • Need Help in Sender File Content Conversion

    Hi All,
    I request your expert advice on Sender File content Conversion. I need to process the below pasted file. I was able to achieve this by keeping a offset of 6 in Sender PI File Adapter (PI 7.1) to ignore first 6 lines and used a Unix script to remove last line"END OF REPORT".
    Now my new requirement is I need to capture the date "DECEMBER 2009" from line 3. How can I do this. I have set offset as 6 so Adapter will start processing from line 7. If I don't set offset Interface fails. Please suggest. Thank you.
    ABC LAB            XYZ LIMITED"
                       TRIAL BALANCE"
                       FOR THE PERIOD ENDED DECEMBER 2009"
    "TEST Bank","101000",-1589365.58,0.00,738295.08,0.00
    "TEST Bank Clearing A/c","101200",0.00,0.00,14848018.55,0.00
    "TEST Bank Sweeps","101250",104315957.19,0.00,7571985482.08,0.00
    "TEST Receipts","101260",0.00,0.00,19788596.15,0.00
    "TEST Corporate Deposits","101270",-7776629.87,0.00,-135914980.50,0.00
    "SHARES","00SH",0.00,0.00,-7869890086.22,0.00
    "END OF REPORT"

    Dear Phani,
    Please go through the below blogs:
    File content conversion sites
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    Thanks,
    Satya

  • Firefox will not display my HTML file as its contents - only displays the HTML text (firefox 5.0).

    I can download a file as a Firefox file (zipped) and it displays successfully. Then I can save the file as a text file and see the HTML text.
    When I work on the HTML text file and then try to display the modified file in Firefox 5.0 and Windows XP, Firefox will only show the HTML text, not the display of the contents of the file.

    Make sure that the file has a .html file extension if you want Firefox to render the content.
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Need help for how to putting arabic content in java properties file

    Hi all,
    we have to support arabic in Java application.
    For that we are using java propeties file where key and value pair is used.
    In the Microsoft excel sheet arabic content is coming properly from right to left direction.
    When same thing is copied and paste in java properties file contents direction is reversed that is it is coming from left to right as in english.
    Please help how to put the arabic contents in propeties file
    Regards
    Vidya

    So in terms discussion.
    First I would suggest that you get a hex editor and validate exactly what is in the properties file. It appears to me that you are using one or more editors that are adjusting the display for you and thus that makes it hard to determine where the problem is. A hex editor should not adjust the display. Although even then you might want to right a simple java app and have it read bytes and print them just to validate that the hex editor isn't doing something.
    Only after you are exactly sure how the bytes appear in the file then proceed with other steps.
    For the java GUI only test the following.
    1. Properties file has it left to right then the java GUI displays it correctly right to left or not?
    2. Properties file has it right to left then the java GUI displays it correctly right to left or not?
    Myself I would expect that 2 should be the correct way to implement this. However that is dependent upon you correctly invoking the api as well. So if 2 is not working then you might want to look at the api. It might also have something to do with GUI display properties (of which I know even less.)

  • Need Help Creating HTML E-mail.

    I'm trying to create a birthday card for a friend that includes an animated GIF, so the image is comprised of several slices. I've created the HTML file in Dreamweaver, and it looks fine when previewed in Safari. However, when I choose "Mail Contents of This Page" from the file menu, the image is displayed very briefly in the new e-mail message before each slice is replaced by a blue Lego icon with question marks on the sides. Could anyone help me get it to work properly?

    I've not done any HTML mail in Mail but I'm thinking the problem might be where the images are being stored.
    When you choose "Mail Contents of this Page," you're not mailing the images. For example, go to CNN.com and send the home page to yourself, and look at the mail. There aren't images attached to the mail, just the code. I think you need to put the images on a server where a page can link to them, not just on your computer. When Dreamweaver is showing the page it's getting the images from your computer, same as with the Safari preview. But an email needs them publicly accessible.

  • Converting an html file with jsp contents to a text file for download

    Hi guys,
    I'm currently having troubles with downloading a .jsp file to a doc file.
    The thing is i am able to download the desired file and make it as a .doc but when i open it with ms word 2007 i can only see the content of the html. The dynamic content generated from the database and reflected on the .jsp page that i suppose to download and convert to .doc file doesn't show.. I hope someone could help me... My servlet code is this:
    public class FileDownload extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    try
    String originalFileName="localhost:8080//Appsdev//reportresults1.jsp";
    File f=new File(originalFileName);
    System.out.println("THE 1st f:"+f);
              response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment; filename=tryreport.doc;");
    response.setHeader("Cache-Control", "max-age=0");
    byte[] buf = new byte[1024];
    FileInputStream inStream = new FileInputStream(f);
    OutputStream outStream = response.getOutputStream();
    int sizeRead = 0;
    int size = 0;
    while ((sizeRead = inStream.read(buf, 0, buf.length)) != -1)
    outStream.write(buf, 0, sizeRead);
    size += sizeRead;
    inStream.close();
    outStream.close();
    catch(Exception e)
    e.printStackTrace();
    }

    Hi BalusC,
    sorry for the double post i'm newly registered and it's my first post before i was just reading other's threads.
    well last night while i was reading and researching for a solution a came across this.
    <%@ page language="java" contentType="application/msword"%> naturally for my other jsp pages, the contentType is text/html so when the page loads it display in the browser. But with application/msword when i direct the page to the jsp page that i want to download and set the contentType with that...it prompts a window like when you're downloading the one with the <open with and save as>. It works fine to, i was able to see the report that i have to download and it is formatted very much like what i am seeing on the browser. My only concern now is the file i am able to download is a .jsp file how could i change that to a .doc file and be able to see the same content like the one with the .jsp file that i have right now.... any help or examples would be greatly appreciated. I didn't use the servlet anymore because even though i am able to download there is no content the html parts only but iam able to change the extension for the file...thanks again! ^ ^

  • Iview display HTML file without KM

    Hello All,
    I want to display my HTML files in the Portal but we dont need to have KM, is there any other way we can achieve this.
    Vaib

    Hi Vaib,
    if your HTML should be put into the deployed PAR (which I would expect), include it from there via API, see http://help.sap.com/saphelp_nw04/helpdata/en/2e/61b942dc2eb611e10000000a155106/frameset.htm and http://portal.dk.issworld.com:50000/irj/portalapps/javadocs/runtime/com/sapportals/portal/prt/resource/iresource.html (STATIC_PAGE).
    Hope it helps
    Detlev

  • Complete newbie needs help inserting flv file into DW

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0015_01C98602.377A5370
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    I'm having a challenge today. A client sent me two flv files.
    When I =
    installed CS4 I installed Flash for the first time so I'm
    thinking, no =
    problem. But I'd never opened it before (never needed it
    until now). The =
    app won't open. I just spent a ton of time uninstalling and
    reinstalling =
    and rebooting over and over and nothing...
    So MAYBE, for now, I don't need it to work. I've also never
    insterted =
    Flash into DW. But it looks easy enough. In my html page I
    choose =
    insert/media/flv. So far so good. I've ftp'd the flv file so
    I'm able to =
    complete the dialog box with the path and size etc. I've
    uploaded the =
    progressiveplayer.swf and the chosen skin swf. I've saved the
    html file =
    it's embedded in and uploaded it. Shouldn't I now be able to
    see this =
    flv file displayed on the page? What did I miss? Here's the
    link to my =
    little test...
    http://www.susanhowlett.com/assets/applets/susan-movie.html=20
    The flv file is mm_susan_thanks.flv=20
    Thanks for any insight/guidance.
    Sheila
    ------=_NextPart_000_0015_01C98602.377A5370
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6001.18183"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV>
    <DIV><FONT face=3DArial size=3D2>
    <DIV><FONT face=3DArial size=3D2>I'm having a
    challenge today. A client =
    sent me two=20
    flv files. When I installed CS4 I installed Flash for the
    first =
    time so I'm=20
    thinking, no problem. But I'd never opened it before (never
    needed it =
    until=20
    now). The app won't open. I just spent a
    ton of time =
    uninstalling and=20
    reinstalling and rebooting over and over and
    nothing...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>So MAYBE, for
    now, I don't need it to =
    work. I've=20
    also never insterted Flash into DW. But it looks easy enough.
    In my html =
    page I=20
    choose insert/media/flv. So far so good. I've ftp'd the flv
    file so I'm =
    able to=20
    complete the dialog box with the path and size etc. I've
    uploaded the=20
    progressiveplayer.swf and the chosen skin swf. I've saved the
    html file =
    it's=20
    embedded in and uploaded it. Shouldn't I now be able to see
    this flv =
    file=20
    displayed on the page? What did I miss? Here's the link to my
    little=20
    test...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><A=20
    href=3D"mhtml:{2BC949A9-CCEB-407F-8078-5F999C2CADAA}mid://00000013/!x-usc=
    susanhowlett.com/assets/applets/susan-movie.html</A>=20
    </FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>The flv file is
    mm_susan_thanks.flv =
    </FONT></DIV>
    <DIV> </DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks for any =
    insight/guidance.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Sheila=20
    </FONT> </DIV></FONT></DIV></DIV></BODY></HTML>
    ------=_NextPart_000_0015_01C98602.377A5370--

    From my little knwledge, it is not possible to insert FLV
    file in the HTML page directly.For this you have to made a player
    with flash which plays the FLV.And this swf can emdded in the HTML
    page.
    You can also download free flash videoplayers like JW Player.
    Thanks

  • Displaying HTML file

    Hi !
    I have created a web application which uses HTML FRAMES, in one frame it displays menu, in another one it displays FORM and once submitted, it fetches data from Database, converts in to XML and then applies XSLT and generates HTML.
    my HTML file name is of the form
    _htmlFileName = "/Program Files\\VendorDirectory\\Repository\\WebApplication\\Vacation\\dumy.htm"
    This file is generated fine after transformation, under specified path.
    Now when i use
    'response.sendRedirect(_htmlFileName )'
    I get page cannot be found error.
    Any Clue ? Any help is welcome.
    Thanks in advance.

    This is because your telling the remote client (the browser looking at the site) to go to that URL.
    You would need a http protocol for a client to access the page. Therefore, provided it's under the application context, you would redirect to the directory using a URL rather than a UNC path.
    Try:response.sendRedirect(request.getContextPath()+"/dumy.htm");provided your generated file exists in:http://localhost:8080/vacation/dumy.htmlthe remote browser will be redirected to that page.
    Anthony

  • How to display HTML files using ABAP Webdynpro?

    Hi,
    I have a html index file and a bunch of other files accessed by the index file  in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achieve this using utilizing the ABAP webdynpro technology ?
    Thanks!

    Hi Thomas,
    Thanks for taking the time to answer my question.
    I have the main html file and all other files needed by the main file in one directory on the application layer of SAP. I'd like to provide the user with a link, by clicking on which they should be able to get to the main html file using the browser. This is just a standalone application.
    I can try the approach using BSPs, however, I'm new to that area. Could you point me in the right direction to get started?

Maybe you are looking for