Hi all,During my project developement I have came across with a strange problem.
Opening a new tab is the functionality of java script or HTML.
One option to do is use anchor tag on your index.jsp and within that anchor tag write href = "/yourServletName" and target = "_blank" .It will redirect you to your servlet and in your servlet coding use sendRedirect("new.jsp");
Note:I don't want new window(which currently I am getting).
Have you searched around for an answer? It took me less than a minute to find references that helped me come to the conclusion that there is no reliable way to consistently do what you intend to do. Search for "programmatically open new browser tab" ← click the link to see the references I found and see for yourself.
Perhaps you need to rethink your user experience design.
Hi Junilu Lacar,
You are right,perhaps there is no particular reliable way to open a new tab in IE(6+) but you should understand that that is exactly why I posted this question here. :-)
I am doing this just because its a client request ,not my personal penchant.
Thanks for searching on the internet on my behalf.
As a professional, it is your responsibility to tell a client when their request is technically not feasible. If you spend two or three days trying to find a non-existent solution, you are doing your client a disservice by wasting your time and their money.
Why not just make it as training issue then? Tell the client if they want to see the new page on a new tab, right click the link and select the "Open in new tab" option. That's the simplest way I can think of to solve your "problem".