0 Replies Latest reply: Mar 28, 2013 3:53 PM by user618018 RSS

    Open URL in same browser window using java service wrapper

    user618018
      I am trying to open URL like http://host:port/xyzui/transaction/startTransPop?xyz=123

      I have put statement

      Try {

      Runtime.getRuntime().exec {
      "rundll32 url.dll, FileProtocolHandler " + finalUrl.toString());
      }

      Here my URL is coming from property file and I am trying to open the URL in the same window but it keeps opening in different window. Anytime this program is called it should show xyzui in one window. If that xyzui changed to ABCUI then it should use another window, subsequent invocation of ABCUI will appear on the same window.

      Thanks,
      BPradhan



      I am using java 6 and ie 7 and windows xp.

      Edited by: user618018 on Mar 28, 2013 1:47 PM

      Edited by: user618018 on Mar 28, 2013 1:53 PM