Hire me, and I will write it for you! lol

www.cs.uno.edu/~kkelly
----- Original Message -----
From: "JOSHY MON M C" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 3:49 AM
Subject: Opening IE from Java application : urgent


> Hi All,
> I have a java applicaton that opens IE with a JSP page, on clicking a
button
> on the app. When I click on the button again, it opens another browser
> window. My requirement is that the second window should not be opended in
a
> different window (but on the first one itself)so that the same session can
> be used.
>
> At present the application launched new window every time, with
> RunTime.exec. The folowing is the piece of code.
>
> String strUrl = "http://hostName:/login.jsp"; ;
> RegReader objRegReader = new RegReader();  // registry reading utility
> String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
> client, here IE
> Runtime objRuntime = Runtime.getRuntime();
> m_Proc = objRuntime.exec(strHttpClientProgram+"  "+strUrl);
>
> Any ideas welcome.
>
> Thanks
> joshy
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to