How to open URL from Shell program or Oracle?

Hi
I required to open a URL (any link like ‘http://www.google.com’) either from Oracle or from shell script.
Is there any command in shell programming to open a URL? If not, can we do the same in Oracle?
Thanks & Regards,
Sreekanth

Sreekanth Munagala wrote:
Is there any command in shell programming to open a URL? Yes. It is called wget.
If not, can we do the same in Oracle?Yes. Oracle supplies HTTP interfaces, like UTL_HTTP. Sample code that shows how do a "webbrowser" (minus rendering engine of course) posted in {message:id=1925297}

Similar Messages

  • How to open url from string on JOptionPane?

    hello there
    i've made a JOptionPane that contains a string url
    and i'm wondering if it is possible to add MousMotionListener
    to the url and if it is possible to open that url in the default Browser?
    JOptionPane.showMessageDialog(null, " Visit us at www.google.com" ,"Visit us",JOptionPane.ERROR_MESSAGE);

    so i have to invoke a mouse event to the url
    meaning when the mouse passes on the url it is
    highlited and when he presses it the browser is openedYes, there is no prepacked "hyperlink" widget in the J2SE, so you have to listen for
    a mouse press. Unless you use JEditorPane, but that's overkill:
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.*;
    public class HyperExample extends MouseAdapter implements Runnable {
        @Override
        public void run() {
            JLabel label = new JLabel("<html><u>http://java.sun.com</u></html>");
            label.addMouseListener(this);
            JFrame f = new JFrame();
            f.getContentPane().add(label);
            f.pack();
            f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        @Override
        public void mousePressed(MouseEvent evt) {
            try {
                URI uri = new URI("http://java.sun.com");
                Desktop.getDesktop().browse(uri);
            } catch (Exception e) {
                e.printStackTrace();
        public static void main(String[] args) {
            EventQueue.invokeLater(new HyperExample());
    }

  • Open url from xchat in opera

    I'd like to open urls from xchat in opera.
    Under settings>advanced>url handler:
    !opera -remote 'openURL(%s)'
    xchat has tcl as an optional dep, so I installed that.
    This is in xfce4 and I have set opera as the preferred browser.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Is it possible to have two versions of Muse on one Machine?  WhenI open Muse from my program menu in WIndows 7 it comes up the way I am used to.  I did an upgrade a week or so ago and now I have an Adobe Muse CC 2014 on my desktop.  WhenI open the applica

    Is it possible to have two versions of Muse on one Machine?  WhenI open Muse from my program menu in WIndows 7 it comes up the way I am used to.  I did an upgrade a week or so ago and now I have an Adobe Muse CC 2014 on my desktop.  WhenI open the application that way the GUI interface looksw totally different, more like Illustrator.  What is that all about?

    Since posting the above, I have resolved a sensible work-around in regard to ebookstores which prefer us to have separate accounts for our separate Adobe IDs.
    However, I really would appreciate it if anyone here can confirm that a DRM controlled book does actually become associated with a particular Adobe ID account at the time of first download to Digital Editions on that PC/device.
    Two large book stores have said using my account with them to download books to our two separate Adobe IDs is OK, but I don't want to find my husband is unable to open his downloaded books.
    Thank you folks for any advice you can give,
    Sue

  • How to open mapquest from a jsp page with address loaded in struts?

    Can someone plz tell me about how to open mapquest from a jsp with address preloaded (i.e taken from jsp fields)? I am using struts.

    http://maps.google.com/maps?q=
    add the query to the end of it. Makes simple.

  • How to open notepad from sql prompt?

    Hi to all
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"
    thanks in advance

    user13480742 wrote:
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"Create a SQL*Plus shortcut on your desktop.
    Create a SQL folder on your desktop (in your documents folder, or whatever desktop location you have read and write access to).
    Change the +Working Directory+ of the SQL*Plus shortcut to this SQL folder you have created (via editing the properties of the shortcut).
    Launch SQL*Plus via that shortcut.
    It will now run from that SQL directory. This means that it will have read and write access to the current directory (allowing it to create the +afiedt.buf+ file for example). It also means that you can save your SQL scripts in this directory and execute these from the SQL*Plus command line, without having to specify a path.

  • How get browser URL from portlet JSR-168?

    I use Oracle Portal. And I have problem.
    How get browser URL from portlet JSR-168?

    Normaly it is
    http://server:port/portletContextRoot
    Did you create the portlet with JDeveloper? When you dpeloy the portlet to your application server, JDeveloper should output the URL of the portlet test page in the deployment output feedback.

  • How to open url photoshop on mac OSX ?

    How to open url photoshop on mac OSX ?
    Safari doesn't know internet adress starting by "aam://" please help me...

    http://helpx.adobe.com/creative-cloud/kb/cc-download-button-gives-aam.html

  • HT1694 How to open attachments from email

    How to open attachments from email

    Just tap on the attachment and it should open. It must be a file format that the iPad can read or it will not work. Your iPad should be able to open any of these file types in the mail app.
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)

  • How to open project from an earlier version (RH x3) using RoboHelp 6.

    Hello everyone, I need your help. I have recently upgraded
    from RH x3 to RH V6. I have just completed the installation of RH6
    after spending long time with Adobe customer support as it took
    them long time to figure out how to provide me the unlocking key to
    install RH v6.
    BTW I have only installed RoboHelp 6 by itself. I did not
    install their Source Control because we already have Visual Source
    Safe which we have been using in our company.
    Also, since I had Adobe Reader 8 installed on my PC, I did
    not install Acrobat Element 7 either. As I suppose if Acrobat 7 or
    higher is installed RH v6 was not going to install Acrobat Element
    7.
    Well, now after I have installed RH v6, my first step is to
    find out how to open project from an earlier version (RH x3) using
    RoboHelp 6.
    RH x3 is installed on my old PC and I am working on my new PC
    where I have installed RH V6.
    Sorry, for providing you too many details, the purpose is
    only to give you a clear picture.
    Please, give me your feedback if I am doing everything
    correct and how should I open the project from an earlier version.
    Thanks

    Hi Peter,
    Thank you so much for the response. Actually, after I posted
    the question on Forum we had lost internet connection for some time
    and I just went ahead and tried it by myself.
    This is what I did – since we use MS Visual Source
    Safe, my all files were in the working folder of VSS in my c drive.
    I just clicked the Open tab/More Files in RoboHelp Starter and
    located the RoboHelp HTML Project File. It opened without any
    problem. Everything looks alright.
    Is there anything specific I should be checking to make sure
    if it is working fine in this version of RH. Because I did not
    create this project, somebody else did and I have never used this
    tool before this is the first time I will be using.
    I found your site pretty helpful though and it did have some
    information about Source Safe. I still have one question related to
    Visual Source Safe that Is RoboHelp v6 linked to VSS automatically
    and check the files out from it automatically whenever a project is
    opened or we have to manually set the link between the RH6 &
    VSS.
    In RH x3 whenever I would open a project it would prompt a
    message that in order to open this project the following files need
    to be writable, would you like to make them writable, selecting
    that option would checkout all the files from the VSS to make them
    writable. However, in RH V6 I opened an existing project and it
    opened without checking out the project files from VSS. Do you have
    any idea what’s happening?
    Ps: Do you recommend any book on RH 6 for starters or any
    other recommendation?
    Your help is always appreciated

  • How to call 'WordPad' from java program........

    The following code will open 'Notepad'
    Runtime runt = Runtime.getRuntime();
    Process pr = runt.exec( "notepad" );likewise, I want to open 'Wordpad'
    Runtime runt = Runtime.getRuntime();
    Process pr = runt.exec( "wordpad" );The above two line code, compiles successfully, but it doesn't give the correct result.
    If I give 'wordpad' in start->run->'wordpad', in windowXP means, the Runtime executer opens 'WordPad',
    can anyone give the solution to open WordPad from Java Programming.
    thanks
    Sarwan_Gres

    Try this:
            Runtime runt = Runtime.getRuntime();
            Process pr = runt.exec("cmd /c start wordpad");

  • How to migrate data from MS Access to Oracle???????

    how to migrate data from MS Access to Oracle???????

    You can use heterogeneous services (HS) connection to MS-Access from Oracle and still use the same PL/SQL (or even a single CTAS statement) or SQL to load directly to Oracle tables. It's transparent, quick and clean as opposed to writing complex control files.
    You might have to set the ODBC connection to your Access database and add the details to Oracle listener.
    Please let me know if you are not sure how to set up the connection.

  • How to insert data from *.dmp file to  oracle 11g using Oracle SQL Develope

    hi
    i backup my database using PL/SQL developer and made *.dmp file
    how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
    and how to make *.dmp file from sql*plus ?
    thanks in advance

    Pl/Sql developer has a config window, there you choose the exec to do the import/export.
    Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
    Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use.

  • How to invoke browser from java program in Solaris ?

    Hi all,
    Is there any way by which a browser can be opened with specific URL, from a java program in solaris OS ?
    In windows I am able to do so by using "rundll32 url.dll,FileProtocolHandler".
    Thanks,
    ngs

    Well, how is a browser normally invoked on Solaris? And have a look at JDIC, maybe it helps you.

Maybe you are looking for