How many forms of include are there in JSP? What's the difference?
- 2020-12-18 01:53:25
- OfStack
What are include in JSP? What's the difference?
1. What are include in JSP
(1) < %@include file="" % >
(2) < jsp:include page="" flush="true"/ >
2. The difference between the two
(1) The former is an indicator element and the latter is an action element
(2) The former composes a page, while the latter composes a file and is converted to Servlet by the JSP container