Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP and JDBC  RSS feed

 
viral patel
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i execute more then on sql queries in one JSP page. If i can how can i do that.
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi viral,
well u can execute as many sql queries as u want
in one jsp page!!!
ex:-
rs1=stmt.executeQuery("select * from one");
rs2=stmt.executeQuery("select * from two");
hope this helps u
regards
...Praful
[ February 27, 2003: Message edited by: praful thakare ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!