on 03-24-2006 11:22 AM
hi,
I wrote the code like as
String[] strarr={"c:/programfiles/......../IEXPLORER.EXE","http://192.168.1.201:50000/Root/url};
Runtime.getRuntime.exec(strarr);
it is working with java program But it is not working with SessionBean
I am using NetWeaverDeveloperStudio
Please help me to do this.
Thanqqqqqqq
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
Actually we have written huge amount of code in servlets,which will connect to sap and fill the related data base tables.Now that url should typed in the browser and i have 10 such urls with me.And it was not recommended from my client.So i thought to initialize them from my session bean which is a web service and it will be called by the client.So tell me the best way of doing it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
In a standalone Java program running on your own machine, this code will start up Internet Explorer on your own machine. However, if this is executed in a session bean, it will attempt to start Internet Explorer <i>on the server</i> and that's a truly horrible thought!
If you tell me what you wish to accomplish with your code, I'm sure I can point you in the right direction.
Regards,
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.