> Hi,
>
> I need to display different JSP using tab layout. So,
> the user selects any tab it will show different JSP
> depending on his selects.
>
> Can anybody post any sample for this? Any custom tag
> or something like that?
1. Start firefox
2. Load URL for first JSP.
3. Type Ctrl-T or select the menu File->New Tab.
4. Load URL for second JSP.
5. If there are more tabs to load, GOTO 3.
That's what you meant, right?
Hi Kevjava...thanks for your response.
I would give you another simple example as I couldn't understand clearly the steps that you mentioned.
When we right click on My Computer icon on our Windows desktop & select properties option, it displays different tabs like General, Computer Name, Advanced etc. (My Computer -> Properties).
I need to implement the same type of thing in JSP using custom tag, struts etc. Tabs in horizontal order. Each tab has different content to display.
I hope now you got it what I meant. Thanks...
> Hi Kevjava...thanks for your response.
Sure thing.
> I would give you another simple example as I couldn't
> understand clearly the steps that you mentioned.
It was a cheeky non-response intended to communicate the fact that I thought your requirements were quite fuzzy.
> When we right click on My Computer icon on our
> Windows desktop & select properties option, it
> displays different tabs like General, Computer Name,
> Advanced etc. (My Computer -> Properties).
That's completely normal as far as I know, but it has nothing to do with Java. I'm confused.
> I need to implement the same type of thing in JSP
> using custom tag, struts etc. Tabs in horizontal
> order. Each tab has different content to display.
Sun JSP Custom Tags tutorial:
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html
As far as I know, this is an HTML issue, really. JSP just happens to be involved.
> I hope now you got it what I meant. Thanks...
Yeah, I get it, sorta. The requirements are still fuzzy. Read the tutorial and come back if you have any more specific questions.