Show Document HTML on C/S

Hi,
I have a document HTML, and I must show It when the user pressed a button. I try with web.show_document, but don't work because I work C/S with form 6. What Must I do ??
How I do to open explorer ???
kind regards
Giordano

Giardano,
you can use a host command or a DDE built-inl to call a Browser and pass the URL with it. The Browser will launch with the HTML page showing. Make sure that the Browser executable is in the path.
Frank

Similar Messages

  • Help to show a HTML file in Swing

    Hiiiiiiiiiii,
    During my development Me in a problem . Please help me out.
    As per my current context of the project I have to develop a HTML page with Help of CSS and all other things. After that I have to Show the HTML file through Swing. I know how to attach a file with help of URL but need some help to show a HTML file in Swing.
    *help to show a HTML file in Swing*

    As camickr said Javascript support is not available. If you want to support you have to write code for that. Up to an extent CSS support is provided.
    Sample code to display HTML pages in JTexPane (you can use JEditorPane as well):
    Construct the URL:
    URL url = YourClass.class.getResource("resources/Hello.html");
    // If YourClass is in package test.html, then your html page must be available in .....test/html/resources directory.
    // And your CSS files must be accessible from your HTML page. This you can test by simply opening the html
    // page in your favorite browser.And then call setPage() method of HelpDataPane. Note that, HelpDataPane supports hyperlink activation.
    import java.io.IOException;
    import java.net.URL;
    import javax.swing.JTextPane;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkListener;
    * A pane to display help pages. Help pages are accessed as URL and displayed
    * in this pane.
    * @author Mrityunjoy Saha
    * @version 1.0
    public class HelpDataPane extends JTextPane {
         * Creates a new instance of {@code HelpDataPane}.
        public HelpDataPane() {
            super();
            this.addHyperlinkListener(new HyperlinkListener() {
                public void hyperlinkUpdate(HyperlinkEvent e) {
                    if (e.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)) {
                        setPage(e.getURL());
         * Sets the current URL being displayed.  The content type of the
         * pane is set, and if the editor kit for the pane is
         * non-{@code null}, then
         * a new default document is created and the URL is read into it.
         * @param page The URL to be displayed.
        @Override
        public void setPage(URL page) {
            try {
                super.setPage(page);
            } catch (IOException ex) {
                try {
                    URL blankURL = YourClass.class.getResource("resources/Blank.html");
                    super.setPage(blankURL);
                } catch (IOException ioe) {
                    ioe.printStackTrace();
    }Thanks,
    Mrityunjoy

  • How to show an html page using JEditorPane in applet.

    I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks

    public class MyApplet extends JApplet{
        private JTextPane textPane = null;
        public void init(){
        HTMLEditorKit editorKit = new HTMLEditorKit();
        HTMLDocument  htmlDoc   = (HTMLDocument)editorKit.createDefaultDocument();
        textPane  = new JTextPane();
        textPane.setEditable(false);
        textPane.setEditorKit(editorKit);
        textPane.setContentType("text/html");
        textPane.setDocument(htmlDoc);
        Container c = getContentPane();
        c.add(new JScrollPane(textPane),    BorderLayout.CENTER);
        c.add(buttonPanel,                  BorderLayout.SOUTH);
        c.add(Box.createVerticalStrut(5),   BorderLayout.NORTH);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
        public void setHtml(String html){
            // you should check the textpane's document to detrmine if there
            // is already text in there..if so, then clear the textpane text and then
            // set the new html...Note: JTextPane only show basic Html ..
            // not like a full blown browser
            textPane.setTextt(html);
            textPane.setCaretPosition(0);
    }

  • Show document in Oracle9i

    Hi,
    I'm using Oracle9i and I would like to show a document from Oracle Forms.
    There is no problem in showing it generally, using web.show_document. But the document is displayed in a new browser window.
    And the problem occurs when I try to show the document "inside" the form, I mean in a form window (or in a form field as in Forms 6), not in a separate browser window.
    Do you know how to solve the problem?
    Thanks,
    Jola

    Jola,
    web.show_document() cannot show documents within a form. You could use a JavaBean to stream documents, but I am not aware of a bean that does render OLE documents or other binary formats so it can be used in Forms. The option you should go for is to use the separate browser window.
    Frank

  • How to show a html page in a swing applet -- URGENT!!!

    Hi All,
    I'm trying to show a html page inside a swing applet... is it possible to do that?? if so is there any built-in classes available for that?? If anyone have some examples, plz help me with that....
    Thanks,
    Ragu

    i havent tested.. but this should work. i am no expert on these either, just to give you an example.. :-)
    JEditorPane ePane = new JEditorPane();
    HTMLEditorKit html = new HTMLEditorKit();
    ePane.setEditorKit(html);
    HTMLDocument htmld = new HTMLDocument();
    try{
    URL url = new URL("http://hcs.harvard.edu/~undercon/");
    InputStream ins = url.openStream();
    ePane.setDocument(htmld);
    html.read(ins,htmld, 0);
    this.getContentPane().add(new JScrollPane(ePane),BorderLayout.CENTER);
    catch(Exception e)
    e.printStackTrace();
    }

  • Wbdynpro abap - show document

    hi folks,
    can anyone provide me with a hint how to show documents - which are stored like cv02n or object services in r/3 databases - in a webdynpro for abap application????
    kind regards,
    oliver

    Hi Oliver,
    did you try LinkToUrl (http://help.sap.com/saphelp_nw04s/helpdata/en/49/e8884118aa1709e10000000a155106/frameset.htm)?
    Regards,
    Heidi

  • Adobe cannot show documents in my Firefox Browser version 16.0.2

    For the last few months I have not been able to open and print my bank statements. I have updated both Firefox and Adobe. When I click the bank's statements link, it opens a new window, but the window is empty, and I get an Adobe box that says "Adobe Reader cannot show documents in this browser. We are sorry, but Adobe Reader is unable to show documents in this browser configuration. Please use your browser to download this file and open it in Adobe Reader or Adobe Acrobat. To avoid this message in the future, many browsers provide a way to turn off certain add-ons, and some are able to show this document natively. Please contact your browser vendor for more details."

    Hello udvardy, it is true, see [https://support.mozilla.org/en-US/kb/pdf-files-are-blank-and-cant-be-downloaded-mac#os=mac&browser=fx16 PDF files are blank and can't be downloaded on Mac]
    [https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them#os=mac&browser=fx16 View PDF files in Firefox without downloading them]
    try the excellent [http://www.schubert-it.com/pluginpdf/ Schubert|it PDF Browser Plugin] (it is only for mac)
    thank you

  • To show a html page from java application

    hi everyone,
    I am trying to show a html page through java application. What i tried is Runtime.getRuntime().exec("start url"); this shows it opens default browser. It works fine for win Nt but does not work on win98 or linux.
    Is there any other way of achieving the same?
    can anyone help me in this regard. I am in urgent need of it. any reply will appreciate.

    I hope this works.
    String urlName = "http://forum.java.sun.com";
    String browser = "iexplore "; //EXE file name --> for iexplore.exe
    Runtime.getRuntime().exec(browser+urlName);

  • ChaRM - Authorization Object to show documents in CRM_DNO_MONITOR

    Hi folks,
    does anyone know which auth. object or other prerequisite is needed to show documents in transaction CRM_DNO_MONITOR?
    To our needs the SAP ChaRM default roles do not fit. So I am building roles from scratch (basically).
    Auth. trace via ST01 did not show anything relevant when executing tx: CRM_DNO_MONITOR.
    Sol Man 7.0, ST400-0017, BBPCRM500-0012
    Any help is appreciated.
    Thanks in advance.
    Edited by: Christian Kaunzner on Mar 9, 2009 10:28 AM

    Hi,
    I would still recommend to use SAP Standard roles as backbone and build on with your custom roles. Make a copy of standard roles. Creating from scratch would again have the same auth. objects that are available in standard roles.
    >
    Christian Kaunzner wrote:
    > To our needs the SAP ChaRM default roles do not fit. So I am building roles from scratch (basically).
    Can you let us know, how you want your roles to be defined?
    Feel free to revert back.
    -=-Ragu

  • How to show an HTML file (more then 1MB size) in JEditorPane

    I an trying to show an HTML file (more then 1 MB size ) in JEditorPane
    but getiing OutOfMemory error.
    if i try the same for size less then 1 MB(i tried till 850KB) then it will work fine.
    I am using setPage() method of JEditorPane.
    please provide solution .

    I meet the same question, and even worse.
    I created a html file with frameset, when i point to the link which is an html file larger than 500kb . it fails. and some error "infinite loop in formatting" is thrown
    in javax. swing.text.FlowView. I read the code of this class, and can't tell what's the error of my application.
    Can someone help and give some answer?

  • Archived Deliver not showing Document FLow _RV_LIKP

    Folks
    I have started archiving for delivery object. I am able to successfully archive one document and can view the document in SARI and the only issue i am having is the when i open the archive document  the ICON which shows "DOCUMENT FLOW" is not click able so user is not able to see the document flow to find the Sales Order/STO# it was created from.
    In my customization for RV_LIKP under the setting "    Archiving Control for Delivery" i have put residence time as "5" and RNO "0"
    Also what is the RNO field  stands for .
    Thanks

    Hi Andy,
    Go through the link given below.
    http://help.sap.com/saphelp_40b/helpdata/pt/b7/19752690e211d1a5510000e82deaaa/content.htm
    The last line looks important.
    Deliveries should be archived before sales documents and billing documents. This sequence is a result of the way the documents are linked via document flow.
    Hope it helps,
    Regards,
    MT

  • Why is it when I convert a Keynote show into HTML, PC users cannot see it properly? Using latest OS and Keynote versions.

    Why is it when I convert a keynote show into HTML, PC users cannot see it properly on their computers?

    JohnRobertBrown wrote:
    It looks perfect using Google Chrome on my Mac. But doesn't work well on Explorer on a PC.  It seems to be way off center.
    There is never any guarantee that automatically generated html will look right on every browser, especially Explorer.  For max compatibility with MS stuff it's best to use Office to start with instead of iWorks.
    I don't know whether you could manually edit the Keynote html to make it work better with Explorer.  It would be interesting to know whether it looks right in Windows Safari, Chrome, or FireFox so you could know whether only IE does it wrong.

  • How can i show a html message?

    Hello,everyone. I don't know how do show a html message.
    this kind of message is multipart.if it contains some images.
    How can I do? Must I save these images into server as a file?
    I am glad to get a hint.

    <IMG id=ridImg
    src="cid:000401c1fd71$95d52470$1a01a8c0@zqx" align=bottom>
    look at this: src="cid:000401c1fd71$95d52470$1a01a8c0@zqx"
    if contentType is "multipart/related".. I can get some image.their type is com.sun.mail.util.BASE64DecoderStream.
    now, I don't know how deal with these DocoderStream for "src" can find them.
    thanks for your help.

  • The URL field only shows "index.html"

    My org website is working okay, just a simple html site with javascript buttons and a more technical search function on the way. However, throughout the website, that is, whether a visitor is on the "Home" screen, or the "Hope & Help" screen, or the "Professionals" screen (etc.), the URL field only shows "index.html" -- clearly I must have made a mistake when I set up the new site, but where? What do I need to look at, and what do I need to do to correct the glitch? Please view the .org at:
    http://www.al-anon.alateen.org/australia
    Thank you!

    It's because you're using frames when there's no reason to.
    Each content page is actually a separate webpage inside the parent frame.
    The easiest way to resolve this would be to re-build the site using a pre-made template inside Dreamweaver then cut and paste the content into the various pages.

  • Showing document and document explorer taskflow in same page

    Hi all,
    I am using webcenter portal 11.1.1.8
    I want to show document explorer taskflow and same content in same window.When user will select any document, same document will display in below.How to achieve this?

    See if the following doc helps you to render the document inside document explorer taskflow :
    Configuring the Dynamic Converter Component
    http://docs.oracle.com/cd/E28280_01/webcenter.1111/e12405/wcadm_documents.htm#BABBCAHI

Maybe you are looking for

  • Query to return multiple rows

    Hi all, I've a requirement where in I've to get multiple rows from a query. The resultset should be something like this: SELECT A FROM dual; A 1 2 3 4 5 6 7 8 9 10 Thanks in anticipation RK Raju

  • Final Cut Pro X and Videocam compatibility

    I am ready to upgrade to Final Cut Pro X AND to buy a new videocam.  I like the features of the Canon Vixia HF S30 (especially the viewfinder, not available in cheaper cameras), but neither Canon nor Apple will reassure me that this camera is compati

  • Oracle 9i speed problem

    Hy everybody! Our firm have a one big problem with oracle 9i database. Problem is with speed functioning. We have an aplication maded in Visual basic, and we geting data from oracle 9i So we have instaled 9i. Before we had oracle 8i. Now when we inst

  • Spotlight doesn't search mails in Entourage

    I just upgraded my Air from Lion to Mountain Lion. Spotlight took about 15 minutes to Index everything, but now I'm not able to see my emails from Entourage in Spotlight.

  • My macbook air heated up to 60 ° and stops.

    My macbook air heated up to 60 ° and stops. What should I do to solve this issue ?