Re: using jsp to update
andrew waller wrote:
> the sql statement is
> "update student set (UserName = ?, Password = ?, fname = ?, lname = ?, address =?, phone = ?)
> where UserName = '" + username + "'";
Get rid of the parentheses in your update.
Why aren't you using a placeholder in the where clause?
--
felix
Please use
BBCode to format your messages in this forum.
Subject
Written By
Posted
Re: using jsp to update
May 11, 2005 04:58AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.