Call IE to display html file

Hi folks,
how to call the IE from standalone application to display a html file?
any idea or code?
thank!

So...to activate a specific browser such IE, one would have to do the following:
Runtime.getRuntime.exec("\"C:/Program Files/Internet Explorer/IEXPLORE.EXE\" \"file:///C|/PATH/index.htm\"");
Where the parameter to the Runtime.exec method is simply the command and argument(s) that you would normally have to use at MS-DOS prompt.
V.V.

Similar Messages

  • 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

  • How to display HTML file in forms 6i

    please can any one tell me how i can display normal HTML file in forms 6i
    this HTML file will be called from help menu.
    thanks in advance

    If you're fine with opening html file in a separate browser window, you can use web.show_document.
    But if you have to see html inside Form, one of the solution may be use embeded browser. for detail goto http://forms.pjc.bean.over-blog.com/article-1890238.html

  • 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?

  • 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 HTML file  (on server path) to ADF jspx page ?

    Hi Team,
    We have a requirement to display HTML content which is in tabular format on a page. This page is jspx page based on page template and this html has to be shown on a radio button select. I am trying to do this with Jquery but since the id of all components in jspx comes as pt1:id (pt1 being the id of page template) and : being a special character in Jquery, I am not able to proceed further.
    the syntax of Jquery to load html file a POC has been done outside Jdeveloper is working fine with a general syntax of
    $("#selector".load("html path"));
    Please let me know is they any other solution to load the file?
    Thanks
    Pavan

    For example
    - (void)viewDidLoad {
        [super viewDidLoad];
        NSURL *fileURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"readMe" ofType:@"html"]];
        [infoWebView loadRequest:[NSURLRequest requestWithURL:fileURL]];
    and from the .h
    @property (nonatomic, retain) IBOutlet UIWebView *infoWebView;

  • 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!

  • How to display HTML file on iphone app?

    Trying to develop an iphone app that will display an HTML file. All sample code I have found does not display an example
    Any ideas. 

    For example
    - (void)viewDidLoad {
        [super viewDidLoad];
        NSURL *fileURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"readMe" ofType:@"html"]];
        [infoWebView loadRequest:[NSURLRequest requestWithURL:fileURL]];
    and from the .h
    @property (nonatomic, retain) IBOutlet UIWebView *infoWebView;

  • Display html file?

    Hi trying to figure out how to display an HTML file. I am able to display an actual link just fine, but when I try to display an actual file, I get a MalformedURL exception.
    Any suggestions?
    Thank You,
    -Jason
    Edited by: jfitzpat on Dec 3, 2009 7:52 AM

    Sorry...
                    String currentNews = "news0.tpl";
              // News Tab
              JEditorPane htmlPane = new JEditorPane(currentNews);
                    htmlPane.setEditable(false);
              jScrollPane2.setViewportView(htmlPane);Edited by: jfitzpat on Dec 3, 2009 7:56 AM
    Edited by: jfitzpat on Dec 3, 2009 7:58 AM

  • Displaying HTML file using IFrame

    Hi All,
    I have an HTML file in my par file. It is contained as dist\html\test.html. Now I want to display this inside an IFrame. If I try something like
    <iframe id="myIframe" src="html\test.html"  width=100% height=100% frameborder="0"></iframe>
    it fails to load the HTML file. Please let me know how to display this.
    Thanks in advance
    Shubhadip

    Hi George,
    as per your suggestion I have used
    <% String html = componentRequest.getWebResourcePath() + "/html/test.html";%>
    <iframe id="myIframe" src=<%=html %>  width=100% height=100% frameborder="0"></iframe>
    But its not working.. giving the following error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:com.sap.portal.system/temporaryobjects3/9b20d054b8a1ab8c2cd5d105cde1788c/TestDynPage
    Component Name : null
    Page could not create the iView.
    But if I give some web url like yahoo.com it works fine. How to do it then?
    Thanks,
    Shubhadip

  • 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

  • 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

  • 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

  • HOW TO DISPLAY HTML FILE

    I'm trying to display a help file created in html when a menu item is clicked.Can someone please help with the code to do that...
    Thanking you in advance...

    jverd wrote:
    DrLaszloJamf wrote:
    jverd wrote:
    Step 1) Learn basic Java syntax.
    Step 2) Learn Swing.
    Step 3) Profit.You forgot the clean underpants!Since when was "clean" a requirement?Since when was Step 2 anything but "?" ?

  • Can I call an HTML file

    Help needed...I am aware that I can embed the HTML coding in the Swing application. However, can some one tell me is it possible to call an already made HTML file in the application or applet. This means that its not that I want a hyperlink in swing to be clicked that brings that HTML file but .... the content of the HTML file to be displayed in the Swing or the Applet. Thanks

    yes.thru javax.swing.JEditorPane()...read docs
    Pallav

Maybe you are looking for

  • Can I stream Xfinity from my Ipad to Apple TV

    I just purchased Apple TV and I want to sent my Xfinity content from my Ipad to my TV. I thought I could do this with Airplay but I can't find any instructions on how to do so.

  • Will a T-shaped A1222 charger work with my 2010 15" MBP?

    The charger that came with my MBP was L-shaped, but I'm wondering if a T-shaped one will work too. (If I understand correctly, A1343 is L-shaped and A1222 is T-shaped... can someone clarify this for me?)

  • Clear BufferedImage

    I have a background and foreground buffered image, both of which are modified through graphics objects, via getGraphics. The problem is, when I paint the two BufferedImages, the second one covers up the first. How do I make the second buffered image

  • Re: TEAC DVD reader/writer stopped working in my Satellite A200

    Help Teac CD/DVD player stopped working says the driver may be corrupt. I've tried all updates etc still not working. Can anyone help?

  • SQL Loader UTF8 Charset  issue

    Hi, My database charset is UTF8, NLS_LANG parameter on mid tier (unix) is UTF8. I have created a spool file (Korean language) in UTF8 charset. Also, verified the dat file using a unicode text editor. When I am trying to upload data back to the databa