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

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.

主站蜘蛛池模板: 泽库县| 五大连池市| 商丘市| 宣汉县| 肇庆市| 公安县| 虹口区| 沧州市| 南开区| 若尔盖县| 汤阴县| 邯郸县| 高陵县| 西林县| 新竹县| 博白县| 新郑市| 岑巩县| 庐江县| 宜兰市| 汝南县| 通州区| 开江县| 环江| 寿光市| 湾仔区| 噶尔县| 扎兰屯市| 柘城县| 自贡市| 罗甸县| 隆安县| 石渠县| 噶尔县| 苍梧县| 马龙县| 营山县| 巴东县| 会同县| 崇左市| 勐海县|