hi , everyone.
Just got stuck here. when i use jsp:include to include header.jsp and footer.jsp into my index page, in firefox's source view, i notice the body,head, meta tags are duplicated for 3 times.
Can I just remove the duplicated ones and only keep the head tags<html> and<body> in the header.jsp, and keep </html>and </body> tags in the footer.jsp?
Edit the files to remove the extra tags. Seriously, those tags were created (presumably by an IDE using a wizard) when creating those JSPs. jsp:include is including literal text. It isn't adding extra tags.
Which is good. Because you only have to remove the tags once and you are done.