Hi Arun,
Well, I have a very nasty work-around for you and it goes something like this:
The
java Runtime class has all the old Unix style "exec" methods which you can call to start a new child process. Unlike the old fork() call, you don't have any real control over the child. You can get the input, output and error streams of the new process but as far as I know there is no way to open a pipe between the two processes for communication. You can kill the child process with the destroy() method of the Process class.
This is of course extremely unportable and assumes that you know the location of IE or whatever browser is on the system never mind what platform you're running on.
Hope this helps
Michael Morris
SCJP
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher