aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to open tab in other window from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to open tab in other window from jsp" Watch "How to open tab in other window from jsp" New topic

How to open tab in other window from jsp

kajal mukergi
Ranch Hand

Joined: Mar 22, 2007
Posts: 102
Hi Friends,

i have 2 two jsp file X and Y

X has two tabs on it called a and b

and problem is that

Y has anchor tag that should go directly to b tab instead of a tag

Can any one tell how to do it using anchor tag.
<a href=""

What i did before is ,i kept the action class which invokes b tab on the X page

but i click on that anchor tag it opens a new page and show all contents of tab b ,

but i dont want that i want X page to shown with b tab showing.

Thank you very much friends
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12678
This is an HTML tag problem, not a JSP problem.
You should work it out using the simplest possible static HTML files, then work on creating that HTML with JSP.
You might find our HTML and JavaScript forum useful.


Java Resources at
I agree. Here's the link:
subject: How to open tab in other window from jsp
Similar Threads
Nested C:forEach varStatus ??
IBM JSF and hx:commandExRowAction issue
Query String
Please Help
Passing the data between the site through URL