how to add tabs in jsp page?

i want to add two tabs in my jsp page..

one tab is active calls and second tab is system history.

when i click on first tab ,same page will be open.

and when i click on 2nd tab ...other jsp page opens.

help me reagarding this.

thnxs in advance.

[281 byte] By [FaiyazAziza] at [2007-11-27 11:17:09]
# 1

There are a lot of ways to implement tabs in a webpage, regardless of whether its jsp. You really should find a page on the internet that looks like the page you want to build, then look at its source code to see how they did it.

The simplest way is to do it with several HTML pages, each with manually generated/graphical 'tabs' at the top that correspond to links. In your case, you might put those pages inside a jsp. There are also more complicated/advanced ways of doing it with things like jmaki (http://ajax.dev.java.net) or GWT (http://code.google.com/webtoolkit)

dcaudella at 2007-7-29 14:23:15 > top of Java-index,Java Essentials,Java Programming...
# 2

As above, have a look at a certain popular online auction website, they have a tabbed appearence. You can use tabs with hyperlinks in the tab cells rather than images as this will load quicker, then colour the tab cells using a cascading style sheet.

StrutFoola at 2007-7-29 14:23:15 > top of Java-index,Java Essentials,Java Programming...
# 3

you can use following link

it has created tabs with html,javascript and CSS

http://www.codeproject.com/jscript/DHTMLWebTabControl.asp

student-javaa at 2007-7-29 14:23:15 > top of Java-index,Java Essentials,Java Programming...