Hi,
Would just like to share that I was getting an SQLException Error, and here is the reason why:
I named my DNS connection "NamesDNS" as specified in this article. But, where the code is listed for DataAccessTag.java on page 1 the following line:
public int doStartTag() throws JspException {
String path = "jdbc:odbc:Names";
...
should read instead the following:
public int doStartTag() throws JspException {
String path = "jdbc:odbc:NamesDNS";
...
This appears correct when the code is explained in bits and pieces, but this typo is there where the whole code is displayed.
Author might want to fix that as convenient.
Asad