Three Common JSP compilation commands: page, include, taglib, and includetaglib

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.