Three Common JSP compilation commands: page, include, taglib, and includetaglib
Three Common JSP compilation commands
1. page command
Is the command for the current page
2. include command
Used to specify to include another page
3. taglib commands
Used to define and access custom tags
What are the differences between the "taglib" and "include" commands in the "page" command ??
This is not a tag. This is the JSP command JSP2.0 standard that provides three commands: page, include, and taglib.
What are JSP commands?
I will teach you a way to view all jsp commands.
1. Create a jsp page in Eclipse
Second, enter <% @ at the top @
Third: Use the Alt +/combination key
In this way, we can see all the commands in jsp, which are actually three: include, page and taglib.
Page command (define page code, import java class library, etc)
Taglib command (introducing jstl labels)
Include command (import other jsp files)