I want to include few jsp files in a main JSP. Which included JSP should be shown to user is based on the tab the user selects. I'm planning to use if then else condition to make that choice. Now my question is there a better way to do this instead of if then else. I mean some thing like <jsp:include page=<%=expression%> /> or a better way???
Originally posted by Bear Bibeault: Are you planning on repainting the whole page every time a tab is selected?
When a tab is selected only the JSP curresponding to that tab will be displayed to the user. There is a header display which is common in all tabs and that will be part of the main JSP. but the rest will be one JSP at a time based on the tab selected. (Infact i didn't really get what you meant by repaint) Is it the answer to your question?