I have the same problem using the sql jstl.
When I connect to a DB I got an exception in the DoEndTag method.
I just used this tag:
 
<sql:driver var="myDataSource" 
 driver="sun.jdbc.odbc.JdbcOdbcDriver"
 url="jdbc:odbc:guestbook"
 />
<sql:query var="pro"  dataSource="${myDataSource}" sql="select * from GuestBook" /> 

There is a workaround to get the recordset using this taglib??
This is quite urgent.
Thank you
 
This is the server output:
A program exception has occurred:
 
                                    javax.servlet.jsp.JspException: Illegal action 
returned from doEndTag() method.
 
                                    at 
JspPage_QueryIterate_jsp_Impl._jspService(JspPage_QueryIterate_jsp_Impl.java:201)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.jsp.AbstractJspPage.service(AbstractJspPage.java:551)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.jsp.JspServlet._service(JspServlet.java:766)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.jsp.JspServlet.service(JspServlet.java:424)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.WebApplicationBean$ServicePrivilegedAction.run(WebApplicationBean.java:4493)
 
                                    at 
java.security.AccessController.doPrivileged(Native Method)
 
                                    at 
javax.security.auth.Subject.doAsPrivileged(Subject.java:558)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.WebApplicationBean.service(WebApplicationBean.java:1977)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.RequestDispatcherImpl.forwardOrInclude(RequestDispatcherImpl.java:405)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:134)
 
                                    at 
com.hp.mwlabs.j2ee.containers.servlet.ServletContainerBean.processRequest(ServletContainerBean.java:772)
 
                                    at 
com.hp.mwlabs.as.services.servlet.ServletContainerService.processRequest(ServletContainerService.java:542)
 
                                    at java.lang.reflect.Method.invoke(Native Method)
 
                                    at 
com.hp.mw.common.util.PolymorphicInvocationHandler.invoke(PolymorphicInvocationHandler.java:223)
 
                                    at 
com.hp.mwlabs.csf.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:184)
 
                                    at $Proxy87.processRequest(Unknown Source)
 
                                    at 
com.hp.mwlabs.as.services.listeners.http.HttpRequestHandler.executeImpl(HttpRequestHandler.java:229)
 
                                    at 
com.hp.mw.as.services.listeners.BaseRequestHandler.execute(BaseRequestHandler.java:124)
 
                                    at 
com.hp.mwlabs.common.util.ExecutorPool$Entry.execute(ExecutorPool.java:400)
 
                                    at 
com.hp.mwlabs.common.util.PeriodicExecutor.run(PeriodicExecutor.java:630)
 
                                    at java.lang.Thread.run(Thread.java:484)

 

 
Andrea Grittini ( < mailto:[EMAIL PROTECTED]>)
Tel: +39-2-97482.1- Fax: +39-2-97482?
Computer Design S.r.l., Via Piave 46 - 20010 S.Stefano Ticino - ITALY
< http://www.cdesign.it/> 
  

 

Reply via email to