In ASP.NET, you can make usercontrols, which are basically just repetitive bits of code and html rendering information. Does such a beastie exist in JSP?
A simple example would be a jsp that does nothing but output a table, but you would include that jsp as a tag in another jsp where you would want to use that table
Something along those lines, but, you know, that actually works.Code://table.jsp <table border="1"> <tr> <td> Testing </td> </tr> </table> //* table.jsp //someotherpage.jsp <html> <sometag src="table.jsp"></sometag> </html> //* someotherpage.jsp
![]()




Reply With Quote