Copying an html file

I wanna copy the contents of an html file(only the contents)in to a text file..this should be achieved thru a java program..
can any1 guide me??

What u mean by contents? What should be the output for this html file?
<html>
<head>
<body background="binary.jpg"></body>
</head>
</html>Cheers

Similar Messages

  • Copy/Save Html file

    Hi
    Is there any exisitng API/JavaBeans for saving and copying HTML file together with its dependencies (e.g. other files referred in 'href')?
    Boon

    Here are some links:
    http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-offload.html
    http://www.chami.com/free/url2file_app.html
    http://www.multimania.com/papysoft/WEBsaver/fonc_uk.html
    http://www.devdaily.com/java/edu/pj/pj010011/pj010011.shtml

  • How to put HTML file in IFrame?

    I want to put HTML file in  IFrame. what i will do? please give details...

    Hi
    Copy the HTML file into your x:\<project name>\src\mimes\components\<your package name>\<your html>.html
    after that in NWDS -- > <b>IFrame</b> --> <b>Source</b> property just type <your html>.html
    Regards
    Chaitanya.A

  • Run applet in browser when html file is stored in different dir.

    I have a SiteSelector.class stored in: "D:\DATA\Java Programmes\Networking\"
    and a SiteSelector.html stored in :"D:\DATA\Java Programmes\Networking\HTML files\"
    Here is a part of the code of SiteSelector.html:
    <applet code= "SiteSelector.class"
    width=500
    height=500
    codebase="D:\\DATA\\Java Programmes\\Networking\\"
    archive=""
    alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
    >
    <param name = "title0" value = "Java Home Page">
              <param name = "location0" value = "http://java.sun.com/">
    <param name = "title1" value = "Deitel">
              <param name = "location1" value = "http://www.deitel.com/">
              <param name = "title2" value = "JGuru">
    <param name = "location2" value = "http://www.jGuru.com/">
    <param name = "title3" value = "JavaWorld">
    <param name = "location3" value = "http://www.javaworld.com/">
    Your browser is ignoring the <APPLET> tag!
    </applet>
    Since html file and .class file are stored in different directories so in applet tag I specify absolute url in "codebase = ......" to indicate that the browser should look for .class file in "D:\DATA\Java Programmes\Networking\".
    But when I run the Applet in the browser, nothing happens. But when I copy the html file back to "D:\DATA\Java Programmes\Networking\" and change the codebase = "D:\\...." to codebase = "." It works well. Any one can help me to hanld this problem. I want to run the applet in the browser when the html file is stored in different directory. Thank you.
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18

    anyone please help me!!!!

  • Question about uploading design file when converting a html file to a master file in SP2013

    http://msdn.microsoft.com/en-us/library/jj822370%28v=office.15%29.aspx
    Here there is a note saying "When you upload your design files, you should keep all files that are related to a single design in their own folder in the Master Page Gallery. When you copy your design folder into the mapped network drive, the Master
    Page Gallery retains whatever folder structure you created."
    What do they mean keeping in own folder in Master Page Gallery?  All my design related files are in a single folder containing sub folders of images, css, js..  I copy this top folder to the http://ou.domain/_catalogs/masterpage/    
     This is also where I would copy my html file to first before converting to master file?
    Thank you.

    So I mapped to the server drive,
    http://our.domain/_catalogs/masterpage/    successfully.
     All my design related files are in a single folder containing sub folders of images, css, js..  I should copy this top folder
    to thehttp://ou.domain/_catalogs/masterpage/ 
        and also copy my html file to first before converting to master file.  My question is do I copy all these files(including the html file to be converted to master) to that masterpage folder before following the instruction to go to SP site
    setting and select and convert the html file?  Or is there any other steps I should or shouldn't do.
    Thank you.

  • Not able to access a file referenced from a HTML file

    Hi,
    Using UCM i am checking two files aboutus.html and aboutusBanner.png in About Us FOLDER.Checkin is happening perfectly well.
    Now In JDEVELOPER I am creating a webcenter application (named MyPortalApplication) and accessing those file using a connection to the UCM server.I am able to fetch the files under
    Application Resouces->Connection ->Content Repository ->UCM ->Contribution Folder ->About Us
    UCM I am using a connection name.
    My aboutus.html file in accessing the aboutusBanner.png to display some image.
    Below is code snippet for aboutus.html ...
    <table align="CENTER" width="930px" BORDER=0 bgcolor="white">
    <tr>
    <td>
    <img src="aboutusBanner.png" />
    </td>
    </tr>
    <tr>
    <td valign="top">
    <p style="font-family:Verdana;font-size:14px">
    <br>
    Go Green Eat Fresh opened in 1992 by three Italian brothers with a vision:
    </p>
    </td>
    </tr>
    </table>
    But when i am running the application that banner image (aboutusBanner.png) is not getting displayed.I think i am not giving the path aboutusBanner.png in aboutus.html correctly.
    Please suggest me how my aboutus.html should use the aboutusBanner.png in code given above.
    Thanks,
    Rajeev

    <img src="aboutusBanner.png" />This may reference the file while it is on filesystem (most likely on a web server, must be in the same directory).
    If you want to create a reference to a file in UCM (document repository), you need to do it differently. The easiest way (if your file is in Public security group) is to use html link to the file: e.g. http://{serverURL}/{instance name}/groups/public/documents/graphic/oly_088631.jpg (search for the file in UCM and copy the link from the search result dialog).
    A better way is to use SSXA - see this manual http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/toc.htm - when your html will be constructed from a template and the image will be defined through a placeholder (you will learn to use placeholders in Chapter 3 of the manual). Since PS3, SSXA should be usable for Webcenter pages.

  • A working method to load local PDF and HTML files on iOS

    I had a lot of trouble getting this to work, and I'm hoping this post saves someone time. Some of the information that's been posted in other locations is either wrong, incomplete, or might only work on Android. By the time you read this message the information here may no longer be accurate, so here's the testing environment:
    Window 7
    Flash CS 5.5.0
    AIR 2.7.0.19530, which was compiled on June 28, 2011
    iPad 1, version 4.3.5 of iOS
    Let's get started.
    On iOS, you load external PDF and HTML files using the StageWebView class.
    On Windows, StageWebView works but the HTMLLoader class is a better choice if you're creating a desktop app.
    You can also load HTML files by reading in the file's text. The information in this post is only for loading external HTML files.
    StageWebView will not load a file that's in File.applicationDirectory. All files bundled in your app are placed in File.applicationDirectory, which means you'll have to copy any external file you wish to load with StageWebView to another directory.
    So where can you copy your file? File.applicationStorageDirectory won't work. File.documentsDirectory does work.
    Several people have recommended copying to a temporary file using File.createTempFile(). This works, but there's a catch: it seems that, like Windows, StageWebView relies on a file's extension when determining how to load it. When you create a temporary file on iOS using File.createTempFile(), the file will have no extension (and on Windows, File.createTempFile() creates a file with the extension .tmp, which is equally problematic).
    The solution to the file extension problem is to rename the temporary file by appending the original file's extension. AIR currently does not have a <file>.rename() function, so you'll have to do it using <tempFile>.moveTo().
    Here's some code I've successfully tested several times on both iOS and Windows. The file is copied to the temp directory. The file's extension is restored by just slapping the original file name to the end of the temp file.
            private function loadExternalFile():void
                var webView = new StageWebView();
                webView.stage = this.stage;
                webView.viewPort = new Rectangle( 0, 0, 1024, 555 );
                // Works with either html or pdf files.
                // These are stored in the root of the application directory.
                var fileName:String = "euei.pdf";
                //var fileName:String = "euei.htm";
                var sourceFile = File.applicationDirectory.resolvePath( fileName );
                var workingFile = File.createTempFile();
                try
                    sourceFile.copyTo( workingFile, true );
                    // You have to rename the temp file
                    var renamedTempFile:File = workingFile.resolvePath(workingFile.nativePath + fileName);
                    workingFile.moveTo(renamedTempFile, true);
                    webView.loadURL( renamedTempFile.url );
                catch (err:Error) { }

    I tried this with Flash CS5.5 and AIR 4.0 SDK. Any pdf loaded simply fills the viewPort with black. Also tested with a png version of the pdf and that displayed just fine.
    What's the purpose of copying to a temp work file? I found that webView.loadURL( sourceFile.url ); gave me the exact same results.
    Any ideas?
    Thanks!

  • Unable to edit html file

    Hi,
    I downloaded an html file from our server to edit the logo. However, I am unable to edit the logo part. It's like commented out. And once I opened the file on Dreamweaver CS5, I am getting this pop-up message:
    "This page contains some SWF objects that may not work properly in the most recent versions of Internet Explorer. Dreamweaver cannot convert them to the new SWF markups. Please delete each of them and insert again."
    I can't edit the html file and change the logo. Please help.
    Thank you and God bless!
    Dannie

    Dannie,
    Are you familiar with dreamweaver templates and editable regions? If the logo is in the template, then you need to modify the template file. The changes you make to the template will automatically be propogated to all of the files which use the template.  If your html file uses a template, the html code will look like its commented out.
    Also, you should not have to download the html fiile from your server because you should always keep a copy of all the html files on your computer.
    I don't know about the SWF error.
    Good luck.
    mitzy_kitty

  • How do I copy my video files from iPhoto to iMovie. The two   hour wait to view all in iMovie puts the kibosh on my edit time.

    How do I copy my video files from iPhoto to iMovie? The two + hour wait for thumb nails and hour long wait looking for the right videos kills the time I have to edit.

    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it.
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • How can I import my IE8 bookmarks/favorites into Safari if I only have access to the data stored on my old hard drive? I can't run Windows to export them to an html file.

    My old PC died and I replaced it with a MacBook Pro.  Although I was able to copy the data from the PC's hard drive, I am unable to export my previous bookmarks/favorites to an html file because that PC won't boot.  Is there any other way to import them into Safari using the raw data stored on that drive or convert them somehow to a format I can import?

    You can only use a JSON backup to restore all bookmarks in Firefox.<br />
    If you need to import Firefox bookmarks in Safari then you need to (re)install Firefox and export the bookmarks to an HTML file.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • How to show applets in a html file ?

    Hi all
    I have created an applet with jdev ,and I also generated the corresponding html file and a main method. So the java file runs standalone when I click on the run button , but when I copied the class file and the html file in a web server, then there is nothing in the applet region ! Can anyone help me ?
    Here are the code :
    Code of the java file :
    // Copyright (c) 2001
    package pack_applet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    * Applet
    * <P>
    * @author xxxx
    public class Capplet extends JApplet {
    boolean isStandalone = false;
    String x;
    String y;
    JLabel label = new JLabel();
    * Constructs a new instance.
    * getParameter
    * @param key
    * @param def
    * @return java.lang.String
    public String getParameter(String key, String def) {
    if (isStandalone) {
    return System.getProperty(key, def);
    if (getParameter(key) != null) {
    return getParameter(key);
    return def;
    public Capplet() {
    * Initializes the state of this instance.
    * init
    public void init() {
    x = this.getParameter("x", "0");
    y = this.getParameter("y", "1");
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.setSize(new Dimension(400, 400));
    this.getContentPane().add(label, BorderLayout.CENTER);
    label.setText("x = "+x+" y = "+y);
    * start
    public void start() {
    * stop
    public void stop() {
    * destroy
    public void destroy() {
    * getAppletInfo
    * @return java.lang.String
    public String getAppletInfo() {
    return "Applet Information";
    * getParameterInfo
    * @return java.lang.String[][]
    public String[][] getParameterInfo() {
    String[][] pinfo =
    {"x", "String", ""},
    {"y", "String", ""},
    return pinfo;
    * main
    * @param args
    public static void main(String[] args) {
    Capplet applet = new Capplet();
    applet.isStandalone = true;
    JFrame frame = new JFrame();
    frame.setTitle("Applet Frame");
    frame.getContentPane().add(applet, BorderLayout.CENTER);
    applet.init();
    applet.start();
    frame.setSize(400, 420);
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } });
    static {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    And code of the html file :
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <HTML>
    <TITLE>
    HTML Applet Test Page
    </TITLE>
    </HEAD>
    <BODY>
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0
    && _info.indexOf("Windows 3.1") < 0)
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var _ns = (navigator.appName.indexOf("Netscape") >=0
    && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0
    && java.lang.System.getProperty("os.version").indexOf("3.5") < 0)
    || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    pack_applet.Capplet will appear below in a Java enabled browser.<BR>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" codebase="HTTP://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0"> <NOEMBED><XMP>');
    else if(_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.2" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" java_CODE = "pack_applet.Capplet" java_CODEBASE = "Capplet.class" "x" = "0" "y" = "1" pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "pack_applet.Capplet" CODEBASE = "Capplet.class" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" >
    </XMP>
    <PARAM NAME = CODE VALUE = "pack_applet.Capplet" >
    <PARAM NAME = CODEBASE VALUE = "Capplet.class" >
    <PARAM NAME = NAME VALUE = "TestApplet" >
    <PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.2">
    <PARAM NAME = "x" VALUE = "0">
    <PARAM NAME = "y" VALUE = "1">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    </BODY>
    </HTML>
    Thank you very much.

    you can load your pdf into your browser using
    navigateToURL(new URLRequest("yourpdf.pdf"));

  • How do I export bookmarks from Firefox for Mobile (android) to an html file?

    I have bookmarks on my Firefox for Mobile v 33.1 that I would like to copy/back up to an html file. Even if I access the desktop version on my tablet I don't see the Show all Bookmarks - Import/Export option. This Android profile used to be linked through the old Firefox Sync to my PC but the issue is that I can't access it from my PC anymore as I just had to replace the hard disk. I have now installed the new Firefox on my PC but it won't sync with the old Android version as the new Firefox Sync is not compatible with the old one. Also when I go under Sync on the Android, it says the email account is deprecated.
    Going forward I understand I need to remove account on the Android, update to the new Firefox Sync and newly link PC and Android device. However I have read that If I remove the account on my Android Firefox and set up the new Firefox Sync on it, I will lose my old bookmarks and it will only start saving and syncing bookmarks from then on even if I use the same email address to set it up. If this is the case and before taking this step, is there a way I can copy my old Android bookmarks to an html file?
    All suggestions very much appreciated! I'm completely lost.
    Thanks

    Tangram that is an answer for desktop Firefox. It does not apply to Firefox for Android.
    There is no way to export bookmarks/history in Firefox for Android.
    However your Firefox sync account is unrelated to the Firefox for Android profile. You can safely remove the account without loss of data. Then set up a new Sync Account.

  • Copy and open files on local filesystem?

    Hello,
    For a change request, I have a rather tricky requirement. Suppose each user of the application always has a mapped network drive to a server, let's say drive "k:\", pointing to "\\servername\someDirectory\docs". This folder contains a lot of Word (.doc) files. What the customer wants is a button in the application that copies one or more documents from the "k:\" drive to a local folder, and opens them in Word. The reason the files have to be copied to the local file system is that opening them on the server would result in a read-only copy, whereas the users should be able to edit the opened version.
    So the user is in the adf application, clicks a button, and then one or more word documents should be opened. These documents should be local copies of the documents in the "k:\" drive. The location where to put the local copies can be easily determined, the path(s?) of the relevant document(s?) on the "k:\" drive is known, and the location of MS Word / Office can also be determined. So I have at my disposal for example following Strings:
    tmpDir = "C:\Documents and Settings\<user>\Local Settings\Temp\"
    serverDir = "\\servername\someDirectory\docs\"
    doc1 = "doc1.doc"
    doc2 = "doc2.doc"
    doc3 = "doc3.doc"
    wordLocation = c:\program files\microsoft office\office10In the current Forms application, there is a button that uses WebUtil to:
    <ul>
    <li>Creates an empty .bat file on the local file system (eg C:\Documents and Settings\<user>\Local Settings\Temp, determined by the tmpDir String)</li>
    <li>In this bat file, there are one ore more copy commands added, to copy the doc files from the server to the local Temp dir:
    copy \\servername\someDirectory\docs\doc1.doc C:\Documents and Settings\<user>\Local Settings\Temp
    copy \\servername\someDirectory\docs\doc2.doc C:\Documents and Settings\<user>\Local Settings\Temp
    copy \\servername\someDirectory\docs\doc3.doc C:\Documents and Settings\<user>\Local Settings\Tempor in other words:
    copy serverDir || doc1 tmpDir
    copy serverDir || doc2 tmpDir
    copy serverDir || doc3 tmpDir</li>
    <li>Next, the necessairy commands are added to the .bat file to open Word with the local copies:
    cd c:\program files\microsoft office\office10
    start WINWORD.EXE C:\Documents and Settings\<user>\Local Settings\Temp\doc1.doc C:\Documents and Settings\<user>\Local Settings\Temp\doc2.doc  C:\Documents and Settings\<user>\Local Settings\Temp\doc3.docor in other words:
    cd wordLocation
    start WINWORD.EXE  tmpDir || doc1 tmpDir || doc2 tmpDir || doc3</li>
    <li>Finally, an exit command is also added to the .bat file and the .bat file is executed on the client through WebUtil.</li>
    </ul>
    The resulting .bat file that is executed on the client would look like this as a whole:
    copy \\servername\someDirectory\docs\doc1.doc C:\Documents and Settings\<user>\Local Settings\Temp
    copy \\servername\someDirectory\docs\doc2.doc C:\Documents and Settings\<user>\Local Settings\Temp
    copy \\servername\someDirectory\docs\doc3.doc C:\Documents and Settings\<user>\Local Settings\Temp
    cd c:\program files\microsoft office\office10
    start WINWORD.EXE C:\Documents and Settings\<user>\Local Settings\Temp\doc1.doc C:\Documents and Settings\<user>\Local Settings\Temp\doc2.doc  C:\Documents and Settings\<user>\Local Settings\Temp\doc3.doc
    exitAny suggestions on how I can do this in the cleanest possible way in adf 10.1.3? I do realise that this is not something you want to do in a web application, but this is an important requirement for the customer...
    Help would be greatly appreciated!
    Chris
    Edited by: Chris Schryvers on 17-May-2010 23:55

    For now I'm looking into the (signed) Java Applet solution: this should make it possible.
    Only one problem: I can't get an applet to run from a jspx (or HTML) page... I keep getting following exception:
    load: class applet.view.TestApplet not found.
    java.lang.ClassNotFoundException: applet.view.TestApplet
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://172.22.42.87:8988/TestApplet3-ViewController-context-root/applet/view/TestApplet.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: applet.view.TestAppletEven if I do just the basic steps in JDev:
    <ul>
    <li>Create a new empty Application with a project</li>
    <li>Right click project, New..., Web Tier > Applet > Applet</li>
    <li>extends: java.applet.Applet, name: TestApplet, package: applet.view</li>
    <li>Add "System.out.println("Test");" to the init() method of the applet</li>
    <li>Right click project, New..., WebTier > Applet > Applet HTML Page</li>
    <li>Accept all defaults, run the Untitled1.html</li>
    </ul>
    When using the AppletViewer, the applet is executed correctly, but when I try to run it on the Embedded OC4J server, I always get the exception...
    Any ideas on how to make this work? Help! :-)

  • How to display HTML file in a region

    I am implementing a portal Application
    in the page group i have 2 regions
    in region1 i have URL item type with URL "http://c:\files\welcome.html"
    How can i set the page such that when the page is browsed the welcome.html
    file will be displayed (browsed)in region2
    regards

    Hi,
    It's quite simple - I will a show a very simple example that will give you an idea :-
    1. Create a simple HTML Page ( I have created Sandeep.html ) & put this HTML code:-
    <HTML>
      <BODY>
         This is my First Test Page. 
    </BODY>
    </HTML>
    2. Copy the file to your $ORACLE_MIDTIER_HOME/Apache/Apache/htdocs
    3. Check if you can access the file :- http://your_server:port/Sandeep.html
        You should see the HTML Page.
    4. Now, login to Portal & create a Page.
    5. Add the HTML Portlet to your Page.
    6. Edit teh HTML Portlet and add this code :-
    <IFRAME SRC="http://your_server:port/Sandeep.html">
    </IFRAME>
    7. That's it ! - the Page Sandeep.html is displayed on the Portal Page itself !
    Regards,
    Sandeep

  • How to display the HTML File Titles instead of File Names

    Hello All,
    I want to display the HTML file titles instead of File names in the Search Results. I've tried to give this command in the 'Visible Properties' in the 'SearchResourceRenderer' as:-
    Visible Properties: rnd:displayTitle
    However this is not working for me. If anyone has an idea of what to pass here or any other alternative to display the Titles.
    Regards
    Vaib

    Summary of steps:
    1) Standard Layout Set used: SearchResultLayoutSet
    2) Create a new layout set using ADVANCED COPY
    3) Change properties as you require
    4) Next modify the search OTH file to reflect this newly created Layout Set (under KM > root > etc > oth > search.oth edit xml file property rndLaoutSet from SearchResultLayoutSet to MyCustomSearchResultLayoutSet)
    5) Check in the document to complete the editing process if Edit Locally is used!
    6) Lastly, activate the OTH file by –
    •     Setting Debugging settings via Debugging Settings
    •     Performing a normal search
    •     Clicking Rendering information and then following link OTH Overview click on Reload
    7) Reload above reloads the OTH file and performing search again will yield the desired result
    8) To turn off the Rendering Information link remove the user id from Debugging Settings.
    Cheers
    Ankit

Maybe you are looking for

  • Unable to get workflow id in ecma script

    I am using the following ecma script in a OR split function check() {    log.info("##########IN CHECK FUNCTION###########");    var path=workItem.getWorkflow().getId() + "/metaData"    var node=workflowSession.getSession().getItem(path);    if (node.

  • HP PSC 1410 All-In-One printer problem!

    I have a PSC 1410 for a while now and I reinstalled Windows 7 recently and now the printer's not detected but I can scan documents. What could be the problem? It was working fine before I reinstalled Windows 7 and I've obviously installed the drivers

  • Report export to excel

    Hello, I am trying to export a report to Excel. When I go to List -> Export -> Spreadsheet, it gives the option to save to excel file in MHTML format. I want to save the file in XLS format. How do we get that option. I don't want to go to List -> Exp

  • Types of Display

    I own a Santa Rosa Macbook Pro (Silver, 15.4" with a matte LED display). It is a year old. My screen recently started to get patches on it so I went to the Apple Care Center and got my display replaced. Now the problem I have with my new display is t

  • Appleworks won't open, comes up with shared libray error?

    for some reason my Appleworks has suddenly stopped working. It comes up with Shared libray error. "-<appleworks>MW_MSL.PPC.Shlb>Interface2ib>" which is gibberish to me. any Ideas????