In my web application I got Header.jsp file which contains default header contents. Im including it in all other pages using jsp:include tag inside body tag of each individual p
As per W3C standards, No! you can not have it.
In your case, you are using JSP as a server side scripting. The problem can be solved by using CONSTANTS for stylesheet/scripts/other html elements.
You just need to add condition in your "main.jsp" file as per the page requirement.