In my current requirement i have to provide the user a tabbed menu. so he may click on tabs and see the results on parent page itself. All the tabs would be having forms in them, like Edit profile, Cancel Order so on..
Now am thinking to go for this in two ways.
1- Provide JSP's inside divs and show and hide them on click. like
2- Put the entire edit.jsp contents within the div itself.
Please inform which one would be better or should i go for altogether a different approach?
Thanks for the suggestion Shailesh. I too thought of that but the thing is that the application is in struts (i should have posted it in struts forum ). So i need to do action mapping and all stuff so thought of having individual JSP pages.
Having jsp content within divs too can serve the purpose , but will then have to write all actions(edit,cancel,book..) within a single action class for all forms in different divs.
So was wondering what approach is taken by exp programmers on this..
Good heavens! What have you done! Here, try to fix it with this tiny ad: