That's what I'm saying with the snip example...
Guido.
Java Leader/Network Specialist, CTO, WHS International
- Original Message -
From: Ralph Einfeldt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 2:19 AM
Subject: AW: Problems with ResultSet
It can happen
Hi!
I'm using Tomcat and JSP but there are problem, my JSP don' work.
I have this code in my JSP
(code.)
Statement
s=cn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
(more code)
if (!rs.isFirst()) rs.previous();
%tr
At 03:01 PM 29/05/01, you wrote:
Hi!
I'm using Tomcat and JSP but there are problem, my JSP don' work.
I have this code in my JSP
(code.)
Statement
s=cn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
(more code)
if (!rs.isFirst())
Hi,
Is your Database MSAccess?
If yes then try Statement
s=cn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
for a full blown Explain Explaination Please go through Java Docs.
HTH
Best Regards
Moin.
Enrique Prados Valiente wrote:
Hi!
I'm using Tomcat and JSP
database
manager...
Guido.
- Original Message -
From: Moin Anjum H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 1:14 AM
Subject: Re: Problems with ResultSet
Hi,
Is your Database MSAccess?
If yes then try Statement
s=cn.createStatement
]]
Gesendet: Mittwoch, 30. Mai 2001 07:38
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: Problems with ResultSet
snip/
It means that you cannot do the follow with MS Access:
Statement st = con.createStatement();
ResultSet rs = st.executeQuery(..);
while (rs.next()) {
out.println