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