哪们大哥能帮忙翻译下啊 谢了

来源:百度知道 编辑:UC知道 时间:2024/06/06 01:19:55
If you would like to learn more about the JSTL tags, refer to Chapter 4. The Sun Web Services tutorial also covers JSTL and includes a section on the JSTL SQL tags: http://java.sun.com/webservices/docs/1.0/tutorial/index.html
JavaServer Pages Tags for SQL Example
The following is an example of JSP tags for SQL. This example illustrates how to execute a query, iterate through the results, and display the results in an HTML table:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/sql.tld" prefix="sql"%>

<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html><head><title>jstl-example</title></head>
<body bgcolor="#ffffff"

如果您想了解更多的服务器标记,请参阅第4章. 太阳Web Services的补习也包括服务器,并包括一节介绍服务器的SQL标签: http://java.sun.com/webservices/docs/1.0/tutorial/index.html JavaServer Pages的标签用于SQL例如下面是一个例子, JSP的标记用于SQL . 这个例子说明如何执行查询,遍历通过试验结果,结果显示在一个HTML表:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/sql.tld" prefix="sql"%>

<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html><head><title>jstl-example</title></head>
<body bgcolor="#ffffff">

<sql:query var="items"
dataSource="jdbc:hsqldb:hsql://localhost,org.hsqldb.jdbcDriver,sa">
SELECT TITLE,TIME FROM ITEM ORDER BY TIME
</sql:query>

<h1>News Items&l