The road of the master of attackJSP TechnologyMastering: JSP syntax + EL + JSTLWhy is Sun launching JSP technology?Servlet generated Web page is more complex, itself does not support HTML syntax, HTML code needs to be output stream through response,
This example describes the use of JSP custom tags. Share to everyone for your reference. Specifically as follows:
There is a mechanism in JSP that allows you to insert markup similar to HTML in a JSP page. This article describes the basic concepts
In the Java EE Project, JSP pages often insert dynamic content by embedding scriptlets in a static page template. However, as complex programs grow, JSP pages become unmanageable. While developing small projects in this way is readily available,
Interface style I was referring to a foreign album website, change is not big, just convert the birds into Chinese, and upload the style also made changes, the reason for this choice is that I am easy to do extension, it supports 3 ways to add
El full name Expression Language (expression language), is one of the most important features of jsp2.0, can use El expressions to access data in the application to eliminate Java script in JSP pages.
Syntax of an EL expression
Expression such as
Tag Library taglib
tags are defined and distributed in a structure called a tag library, which is a collection of meta information and classes:
1. Label Processor: Java class that implements custom label functions.
2. Tag additional information
1. Custom JSP Tags overview
A custom JSP tag is a programmer-defined JSP tag that encapsulates the information display logic in a separate Java class and describes its use through an XML file. When you need to use a similar display logic on a page,
Javaweb Learning Summary (24)--jsp traditional label Development One, label Technology API1.1, label technology API class inheritance relationship Second, the label API Simple Introduction 2.1, Jsptag interface The Jsptag interface is the parent
The Softswitch device has become one of the important devices in the networking device. Here we mainly introduce the detailed analysis of key routing technologies of the softswitch device. Based on the DNS system, ENUM mainly draws on the basic idea
2. StartNow let's get to know more about the xml application in jsp.First, define the tld file and the java class file processed by the corresponding tag. Then, use the tag in jsp through the defined syntax,Let's take a look at the XML file below.===
I. jsp Basics1. JSP ConceptServlet is a dynamic resource development technology provided by j2ee and is developed in the form of java programs. It is a headache to write HTML tags in java. Therefore, JSP is developed, it looks like HTML, but the
When I first started using JSP for web applications, JSP is used like PHP and ASP, and a lot of scriptlet is included in HTML code. Java code segment. As my "typographical" technology is still acceptable, I thought this JSP application was quite
When we develop custom tags in a Web application, these custom tags usually have the tag processor Java class, and a description of these tag TLD files, if we want to be able to use these tags in other Web projects later, you can encapsulate these
JSP tags have the same format as HTML tags, which can be used instead of Java scripts in JSPs to introduce code. Before using a custom label, you need to create a *.tld file, each with a tag library that can contain a lot of custom tags.Each tag
Examples of custom tag usage in jsp and Analysis of jsp instances
This example describes the use of custom tags in jsp. Share it with you for your reference. The details are as follows:
Here we simply write a custom tag. The advantage of custom tags
1. Overview of custom JSP labels
A custom JSP tag is a type of JSP tag defined by the programmer. This tag encapsulates the information display logic in a separate Java class and describes its usage through an XML file. When you need to use similar
Custom tags are mainly used to remove java code from Jsp pages.Execution Process of custom JSP labelsWhen a JSP page containing custom tags is translated into Servlet by the JSP Engine (Web Container), the JSP Engine encounters custom tags, this
For versions earlier than javaEE5, You need to reference JSTL-related jar packages and tld files. After JAEE5, you don't have to worry about this. If you still cannot use it, download it from the official website (jstljar and standardjar) these two
Under iis, different pseudo-static php websites are implemented. in my development environment under iis, now I have implemented the php pseudo-static function. I have installed ISAPI_Rewrite3 on iis to implement the pseudo-static function of a
I. Introduction
When a call is established for a traditional telephone exchange network, the signaling point code of the next exchange board is determined based on the E.164 number of the called phone number, and then the call is routed through the
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.