FileDocCategorySizeDatePackage
UpdateTag.javaAPI DocGlassfish v2 API2908Sat May 05 19:18:00 BST 2007org.apache.taglibs.standard.tag.rt.sql

UpdateTag

public class UpdateTag extends org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport
Subclass for the JSTL library with rtexprvalue support.
author
Hans Bergsten

Fields Summary
Constructors Summary
Methods Summary
public voidsetDataSource(java.lang.Object dataSource)
Setter method for the SQL DataSource. DataSource can be a String or a DataSource object.

	this.rawDataSource = dataSource;
	this.dataSourceSpecified = true;
    
public voidsetSql(java.lang.String sql)
Setter method for the SQL statement to use for the query. The statement may contain parameter markers (question marks, ?). If so, the parameter values must be set using nested value elements.

	this.sql = sql;