InterviewSolution
Saved Bookmarks
| 1. |
What are the options in JSP to include files? |
|
Answer» In JSP, we can perform inclusion in the following ways −
<% include file = ”header.jsp” %>
<% include file = ”header.jsp” %>
<% pageContext.include(“/header.jsp”); %>
<% RequestDispatcher rd = request.getRequestDispatcher(“/header.jsp”); Rd.include(request,response);%> |
|