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

Chapter 3. Connecting to a Database with JSTL SQL Tag Library

JSP 1.1 and the later versions of JSP support reusable modules called custom actions. A custom action is invoked with a custom tag in a JSP page. A collection of custom tags is called a tag library. Various SQL tag libraries are available for accessing a database. The JavaServer Pages Standard Tag Library (JSTL) is a tag library, which provides SQL tags for accessing a database. JSTL 1.1 requires a JSP container that supports Servlet specification 2.4 and JSP specification 2.0. In this chapter, we will discuss the JSTL SQL tag library and develop a JSTL SQL tag library application in JDeveloper 10.1.3 with embedded OC4J, which supports Servlet 2.4 and JSP 2.0 specifications. The JSTL SQL tag library was created before JDBC 4.0 specification became available. If you are using the JDBC 4.0 driver with JDK 6.0, you would still be able to use the JSTL SQL tag library. We will be using JDBC 4.0 with JDK 6.0 for accessing the Oracle database using the JSTL SQL tag library. First, let us discuss the JSTL SQL tag library tags.

主站蜘蛛池模板: 南雄市| 广水市| 沂南县| 虞城县| 牡丹江市| 聂拉木县| 黎城县| 若尔盖县| 南宁市| 富裕县| 思茅市| 涡阳县| 浠水县| 景宁| 长兴县| 科技| 南昌县| 天等县| 皮山县| 景宁| 临潭县| 山阴县| 涞源县| 仲巴县| 盘锦市| 云和县| 齐齐哈尔市| 禹城市| 铁岭县| 清原| 苏州市| 红桥区| 长阳| 丘北县| 灵宝市| 德州市| 朝阳区| 玛曲县| 丰城市| 株洲市| 宾阳县|