Re: JSP ORACLE CONNECTIVITY
From: Bjorn Abelli (DoNotSpam.bjorn_abelli_at_hotmail.com)
Date: 03/26/04
- Next message: Henry: "wasNull() syntax"
- Previous message: Antonio: "OC4j and abnormal exit of stm.executeQuery"
- In reply to: Manpreet: "JSP ORACLE CONNECTIVITY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 15:39:42 +0100
"Manpreet" wrote...
> i am sending the code to u and u could reply at
> [COLOR=Blue]manpreetgrover@rediffmail.com[/COLOR] .
No I will not. You asked in a newsgroup, and will get the answer in the
newsgroup, so other can benefit from or object to the answers...
> after filling up the form in the first page and
> then submit is clicked it says resultset not found
> in type declaration.
With a quick glance on your code, I see:
> ResultSet rs = stmt.executeUpdate(...);
executeUpdate doesn't return a ResultSet and it shouldn't.
It returns an int with either the row count for INSERT, UPDATE or DELETE
statements, or 0 for SQL statements that return nothing.
// Bjorn A
- Next message: Henry: "wasNull() syntax"
- Previous message: Antonio: "OC4j and abnormal exit of stm.executeQuery"
- In reply to: Manpreet: "JSP ORACLE CONNECTIVITY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|