This will never work!
The include statement will get a new connection to the database and execute
an entirely new
query, while the first query / result set is active. You will quickly run
out of connections.
Secondly, at the risk of parroting earlier responses, I would heartily
suggest that you
Hi all.
Never got a response on this one.
Suppose I have a JSP page or a Servlet that includes ITSELF in recursion. I'm doing
this because I have a n-tree structure and I wish to display a given node with all
it's subnodes. I need recusrion. Period.
So I thought that something like
IMHO Donot do that way.
Keep a single Jsp/Servlet. Rather encapsulate tree in
any suitable Java Collection. (viz. java.util.Tree)
Use iterator interface and accomplish whatever you want to
-Mahesh.
---
Nikola Milutinovic wrote:
Hi
How are you passing the resultSet back and forth between the JSP's?
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
How are you passing the resultSet back and forth between the JSP's?
I'm not. This is the scatch of the code:
JSP: OUDisplay.jsp
DriverManager.getConnection()
Connection.createStatement()
Statement.executeQuery()
while( ResultSet.next() ) {
...
if( recurse )