GTU WTAD Practical 20 : Write a JSP page, which uses the include directive to show its header and footer

GTU WTAD Practical 20 :  Write a JSP page, which uses the include directive to show its header and footer

GTU WTAD Practical 20 :  Write a JSP page, which uses the include directive to show its header and footerThis example explains how you can include some pages in JSP. For example you can create separate file for header and footer and you can include it in each page sothat if any changes is required you just need to update only one file.

File Name : index.jsp

File Location : Tomcat_Apache\webapps\gtu20\

 

File Name : header.jsp

File Location : Tomcat_Apache\webapps\gtu20\

 

File Name : footer.jsp

File Location : Tomcat_Apache\webapps\gtu20\

 

Output

GTU WTAD Practical 20 : Write a JSP page, which uses the include directive to show its header and footer

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative