tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
Subject Re: "Attribute select has no value" error
Date Sun, 08 Feb 2004 14:32:04 GMT
Moazam Raja wrote:

> I have a JSP page which is trying to connect to a JDBC mySQL database 
> but I keep getting this error when I try to compile:
> 
> ------------------------------------------------
> articles.jsp [19:7] Attribute select has no value
> Errors compiling articles.
> ------------------------------------------------

> <sql:query var="articles" dataSource="${dataSource}"
> select * from Articles>
> </sql:query>

You SQL statement goes in the *body* of the tag:

   <sql:query var="articles" dataSource="${dataSource}">

   select * from Articles

   </sql:query>

HTH,
-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.




---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message