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
Guru,
I happened to stumble over some of your previous threads on this topic. how-to-call-a-servlet-in-sessionbean-in-netweaver in particular seems to hit the mark.
- Thorsten
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
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.
Add a comment