About JSP Basic syntax: first chapter

Source: Internet
Author: User

today I learned some of the basic grammar of JSP knowledge points.

The full name of the JSP is Java Server Pages, which is simply a simplified servlet design that implements HTML tags for use in java. JSP is a Dynamic Web page technology, Standard is Java EE Standard, JSP and servlet, like, is executed on the server side.

The common Dynamic Web development technology comparison is mainly divided into JSP and ASP and PHP. Each of the three development technologies has advantages and disadvantages. We learn the JSP is based on the Java platform, high security, suitable for the development of large, enterprise-class Web applications. JSP page elements

Composed of annotations, declarations, small scripts, expressions, directives, and static content.

JSP directives are usually located at the top of a JSP page and can have multiple page directives on the same page. The page directive embeds an external file into the current jsp file and resolves the JSP statement in the page include directive, which uses the tag library to define a new custom tag and enable the custom behavior JSP base syntax in the JSP page. taglib JSP Directive page instruction syntax: <%@ page Property 1 = "Property Value" Property 2 = "Property value 1, property value 2" ... Property N= "Property value N"%> default Property description Specifies the scripting language used by the JSP page Languagejava use this property to refer to the script language used in the import-free class file Text/htmi, to specify the encoding used by the JSP page.

About JSP Basic syntax: first chapter

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.