Hi all, I am using the dbtag along with the gridtag
the source of my jsp is <%@ taglib uri="http://www.servletsuite.com/servlets/dbtag" prefix="sql" %> <%@ taglib uri="http://www.servletsuite.com/servlets/gridtag" prefix="g" %> <sql:openConnection driver="sun.jdbc.odbc.JdbcOdbcDriver" url="jdbc:odbc:vtr" id="A"/> <sql:setQuery id="A" query="select * from mmast" res="B"/> <sql:ifError id="A"> <br>Could not connect to database <br>Error is: <sql:getError id="A"/> </sql:ifError> <g:grid source="<%=\"B\"%>" borderWidth="1"/> </html> I get the following error C:\jo\work\host_\root_\jsp_\test_jsp.java:264: Invalid cast from java.lang.String to java.util.Iterator. _tagtraum_tag_grid9.setSource((java.util.Iterator)("B")); ^ 1 error Any help in this regard is welcome .... V.T.R.Ravi Kumar, Engg.(CCX), BHEL =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
