Hi to all,

Can someone tell me how to add tab pages to a JSP. I would like to have different input fields in each tab page. When I press submit, all input fields (in all tab pages) are sent to the server and not only the ones in the current tag page.

Thanks

Francis Paquin
Senior Programmer Analyst

Recommended Answers

All 3 Replies

Can you do it in HTML? If not, then you can't do it in JSP, either. If so, then have the JSP produce that HTML. Where's the problem?

The problem is that I do not know how to code the JSP page. I would like some example on how to do this. Either HTML, JSP or JavaScript.

I think your are confusing between JSP and JavaScript. With JSP can you do tabs? Answer is NO! With JavaScript, yes you can. If you don't know about JSP, I will suggest you to learn them step by step. If you don't need it in future, you just need a quick solution, check this MooTabs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.