File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes sql:update problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "sql:update problem " Watch "sql:update problem " New topic
Author

sql:update problem

gaurav kanthed
Greenhorn

Joined: Jun 07, 2005
Posts: 2
hi,
i am using ms access 2000 as a database i can get data using sql tag libary but when i insert data throw
<sql:update dataSource="{datasource"}>
INSERT INTO books(id, name) VALUE(?, ?)
//here i am using <sql aram>
</sql:update>
record can not added at database.
i am not getting any type of error when i run jsp page.
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Do you commit the transaction after updating the record?


My blood is tested +ve for Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sql:update problem
 
Similar Threads
JSTL SQL dataParam
SQL Insert Statement Data Type Mismatch Error
jstl and View data problem
database connection with jstl
JSTL sql tag