Shawn Bayern wrote:
I am a newbie you have some link that explain how to create a Datasource with pooling?The <sql:setDataSource> tag, when used to create a DataSource, doesn't support pooling (unless you somehow have a pooling JDBC driver, which isn't the way things are supposed to work). However, the SQL tags can support pooling by using, rather than creating, a DataSource.
with JSP is possible or I must use Servlet?
Note first that it's better to be using <sql:param> and the '?' placeholder syntax for SQL, rather than using <c:out> inside <sql:query>. But that doesn't address your problem.
I now but why is better your solution? Memory usage?
I'm actually not sure what problem you *are* having: <c:out> shouldn't print newlines at the end of its output. However, when you follow <c:out> with a newline (outside the tag), then *that* newline is printed. But you'd have the same problem with scriptlets.
The problem is after close tag. Now I goot it.
Anyway, to answer your specific question, you'd write
<%= pageContext.findAttribute("elenco") %>
Thanks very much Best Regards Lorenzo Sicilia -- To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
