I was referring below url for the approach Opening an URL from java
I have deployed my code in one of the tomcat server. I used the above code to open a new tab using java.
New tab is opening in the deployed server instead of local machine. We are not able to see whether new tab is opened when we use the applications.
Is there any options to specify the machine name as a parameter or how to open a new tab where the user is accessing the applicaton