File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP and JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and JDBC" Watch "JSP and JDBC" New topic


viral patel

Joined: Feb 25, 2003
Posts: 16
Can i execute more then on sql queries in one JSP page. If i can how can i do that.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Hi viral,
well u can execute as many sql queries as u want
in one jsp page!!!
rs1=stmt.executeQuery("select * from one");
rs2=stmt.executeQuery("select * from two");
hope this helps u
[ February 27, 2003: Message edited by: praful thakare ]

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JSP and JDBC
It's not a secret anymore!