File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Multiple Tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Multiple Tables" Watch "Multiple Tables" New topic
Author

Multiple Tables

Sunn J
Greenhorn

Joined: Jul 27, 2001
Posts: 4
Hi Guys
I want to insert my data into two tables through Jsp.How is that possible?
Thanks
Sunn
Dmitriy Pavlyuk
Ranch Hand

Joined: Mar 25, 2001
Posts: 33
May be i don't quite understand your question, but it's not a problem.
You can execute any SQL query from JSP, and insert data in some table.
If you ask about html tables then it's doesn't different from any another markup.
Sunetra Saha
Ranch Hand

Joined: Feb 25, 2001
Posts: 77
That's right. The sql update should be exactly the same even if you hava 20 tables to insert the data to. Or is it that we are misreading your problem?
Sunn J
Greenhorn

Joined: Jul 27, 2001
Posts: 4
Thank Dmitri and Sunetra
My situation is that I have to insert Data in two tables situated in the same database(Access). So just changing the name of the table in sql query will do or something else is required.
Thanks
Sunn
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Multiple Tables
 
Similar Threads
Good idea or not - 1 Entity Bean, multiple tables?
drop down menu
Composite Foreign Key mapping
bulk insert
what is the command in oracle to show databases?