G
geoffalot
Newb Taglib conceptual error:
"Missing tagclass for tag 'dbgrid'"
I am attempting to integrate a datagrid taglib into a small test
application.
The Datagrid lives here:
http://www.codeproject.com/useritems/DBGrid.asp?df=100&forumid=82119&fr=26
My .jsp starts with the following:
<%@ taglib uri="/WEB-INF/tags/datagrid.tld" prefix="grd" %>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.SQLException" %>
<%@ page import="com.freeware.gridtag.*" %>
The taglib section from my web.xml looks like this:
<taglib>
<taglib-uri>/tags/datagrid.tld</taglib-uri>
<taglib-location>/WEB-INF/tags/datagrid.tld</taglib-location>
</taglib>
(The file datagrid.tld definitely lives under /WEB-INF/tags)
My datagrid taglib descriptor starts like this:
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>DBGrid</short-name>
<display-name>DBGrid</display-name>
<small-icon>images/dbGridS.gif</small-icon>
<large-icon>images/dbGridM.gif</large-icon>
<description>JSP Data Grid Tag Library</description>
<tag>
<name>dbgrid</name>
<tag-class>com.freeware.gridtag.DBGrid</tag-class>
The error I am receiving on the jsp is:
dg.jsp Line 1: Missing tagclass for tag "dbgrid"
In the .jsp, I can import all the classes in datagrid.tld with "@ page
import" directives, but something I am doing wrong is making it
impossible to for the application to "see" the tagclasses via a
taglib.
If it matters - I am running this on Blazix.
Any help greatly appreciated.
Geoff
"Missing tagclass for tag 'dbgrid'"
I am attempting to integrate a datagrid taglib into a small test
application.
The Datagrid lives here:
http://www.codeproject.com/useritems/DBGrid.asp?df=100&forumid=82119&fr=26
My .jsp starts with the following:
<%@ taglib uri="/WEB-INF/tags/datagrid.tld" prefix="grd" %>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.SQLException" %>
<%@ page import="com.freeware.gridtag.*" %>
The taglib section from my web.xml looks like this:
<taglib>
<taglib-uri>/tags/datagrid.tld</taglib-uri>
<taglib-location>/WEB-INF/tags/datagrid.tld</taglib-location>
</taglib>
(The file datagrid.tld definitely lives under /WEB-INF/tags)
My datagrid taglib descriptor starts like this:
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>DBGrid</short-name>
<display-name>DBGrid</display-name>
<small-icon>images/dbGridS.gif</small-icon>
<large-icon>images/dbGridM.gif</large-icon>
<description>JSP Data Grid Tag Library</description>
<tag>
<name>dbgrid</name>
<tag-class>com.freeware.gridtag.DBGrid</tag-class>
The error I am receiving on the jsp is:
dg.jsp Line 1: Missing tagclass for tag "dbgrid"
In the .jsp, I can import all the classes in datagrid.tld with "@ page
import" directives, but something I am doing wrong is making it
impossible to for the application to "see" the tagclasses via a
taglib.
If it matters - I am running this on Blazix.
Any help greatly appreciated.
Geoff