hi there;
i am getting this error, may i know how to solve it?
--java.sql.SQLException: ORA-01000: maximum open cursors exceeded --
for you information, my resultset structure are look like this:
<%
rs = connect.execSQL("SELECT * FROM keyword WHERE keyword like '%"+ simpkeyword +"%' "
;
while(rs.next()) {
knumb = rs.getString("number"
;
rs2 = connect.execSQL("SELECT * FROM invmarc where nbr = "+knumb+" "
;
while(rs2.next()) {
callnbr = rs2.getString("callnumber"
;
%>
<tr><td bgcolor="#0066FF" width="25%"><font face="Helvetica" size="-1" color="#FFFF00"><b><%= callnbr %></b></font></td>
<% } //while for rs2
rs2.close();
} //while for rs
if (rs!=null) rs.close(); %>
i am getting this error, may i know how to solve it?
--java.sql.SQLException: ORA-01000: maximum open cursors exceeded --
for you information, my resultset structure are look like this:
<%
rs = connect.execSQL("SELECT * FROM keyword WHERE keyword like '%"+ simpkeyword +"%' "

while(rs.next()) {
knumb = rs.getString("number"

rs2 = connect.execSQL("SELECT * FROM invmarc where nbr = "+knumb+" "

while(rs2.next()) {
callnbr = rs2.getString("callnumber"

%>
<tr><td bgcolor="#0066FF" width="25%"><font face="Helvetica" size="-1" color="#FFFF00"><b><%= callnbr %></b></font></td>
<% } //while for rs2
rs2.close();
} //while for rs
if (rs!=null) rs.close(); %>