Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Tuesday, December 4, 2007

java code for Updating a database using the sql:update tag

//web.xml


"http://java.sun.com/dtd/web-app_2_3.dtd">


jdbc/address
javax.sql.DataSource
Container




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


Updating a database using the sql:update tag
var="conn"
dataSource="jdbc/address"
/>


Modify Address List



INSERT INTO AddressList (name, street, city, country, telephone) VALUES (?, ?, ?, ?, ?)







No comments: