• Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl problem-accessing database  RSS feed

 
Ankur Jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jstl to access thedatabase

It is working if I am using <sql:query > tag ,but when executing
<sql:update>
it throws exception

Plz tell me what is wrong??
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that your JDBC driver doesn't support the operation you are trying to carry out.
 
Ankur Jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no. its not the driver problem b'coz the <sql:query> tag is working
means i can query data but cant modify it
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ankur Jain:
no. its not the driver problem b'coz the <sql:query> tag is working
means i can query data but cant modify it


I think Tim addressed the same issue. He was saying the same thing, that the driver might not support the inserts and updates.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!