官术网_书友最值得收藏!

Overview of JSTL SQL and Core Tags

The JSTL SQL tag library provides various tags for accessing a database, creating a database table, updating, deleting, and querying a database. The SQL tag library URI is: http://java.sun.com/jsp/jstl/sql. The syntax for including the JSTL SQL tag library in a JSP page is the taglib directive shown below. The URI is used to define a namespace for the tag library, which avoids conflicts that could occur if another tag library with similar names for their tags is used on the same JSP page.

<%@ taglib prefix="sql" uri=" http://java.sun.com/jsp/jstl/sql" %>

The different tags in the JSTL SQL tag library are discussed in the following table. All the tag attributes in the table are of java.lang.String type, unless specified to be of another type. Attributes are not required, unless specified to be required.

We will also be using some of the JSTL Core 1.1 tag library tags. JSTL Core 1.1 tag library provides tags for expression evaluation, loops, conditional evaluation, import of URL based resources, and output of the results of expression evaluation. Some familiarity with expression language (EL- http://www.oracle.com/technology/sample_code/tutorials/jsp20/simpleel.html) is required to use the JSTL Core 1.1 tags. The JSTL Core 1.1 tag library tags are discussed in the following table. Attributes are not required, unless specified to be required.

主站蜘蛛池模板: 富阳市| 滁州市| 连城县| 镇平县| 会昌县| 江门市| 土默特右旗| 云浮市| 通化县| 巴林右旗| 西和县| 满城县| 南部县| 林口县| 翼城县| 建始县| 禄劝| 崇明县| 馆陶县| 淮滨县| 名山县| 牡丹江市| 汕尾市| 区。| 三门县| 青铜峡市| 罗田县| 上林县| 水城县| 芷江| 庐江县| 双辽市| 石楼县| 曲周县| 漾濞| 浮山县| 安塞县| 治多县| 思南县| 桂林市| 西乌珠穆沁旗|