hello Srinivas,
here is the code
import java.io.*;
public class One{
public static void main(String[]args){
try{
Process p =
Runtime.getRuntime().exec("D:\\NetScape\\Program\\netscape.exe");
System.out.println("Success");
}catch(IOException e){System.out.println("IO Exception");}
}
}
u specify the complete path...that should work..have a nice time
thanking u
gopi
> ----------
> From: srinivas[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent: Tuesday, August 31, 1999 3:51 PM
> To: [EMAIL PROTECTED]
> Subject: Off Topic still any1 can answer:):)
>
> Hi experts,
>
> I agree this is a little bit of off topic question. How do i launch a
> netscape
> application via a java code. I tried with Process p =
> Runtime.getRuntime.exec("c:\\temp\netscape.exe"); it is giving me an IO
> error and
> unable to create the win32 native process code for this one and all, how
> shall i
> execute this please help me.
>
> Thanks
> Srini
>
> Vihung Marathe wrote:
>
> > Chris Pratt wrote:
> >
> > > I'm not a JavaScript programmer (nor is this a JavaScript Mailing
> List)
> >
> > Right. I agree.
> >
> > But Jack (the original poster) would not have been able to accomplish
> what he
> > wants to do easily with Servlets, so I gave him a simple client-side
> solution -
> > in the place where he would be looking for a solution to his problem.
> >
> > > it seems that you could just disable the button once it has been
> pushed and
> > > prevent the double click at the client.
> >
> > Unfortunately, you can't do that with HTML buttons, which is why the
> whole
> > problem arises.
> >
> > -- Vihung
> >
> >
> __________________________________________________________________________
> _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html