Shopping-web-Jsp-Servlet icon indicating copy to clipboard operation
Shopping-web-Jsp-Servlet copied to clipboard

how to insert data two tables using foreign key one jsp

Open reddyas opened this issue 5 years ago • 4 comments

iam using oracle

two tables are there team1 and team2 table is there

team1 table contains the teamid ,teamname here teamid is primary key

team2 table contains team2id and team2name ,teamid here teamid is foreign key

iam using jsp

iam inserting the data in jsp to two tables at a time

please tell me how to write a code in jsp

reddyas avatar Jul 23 '19 06:07 reddyas

how to write a code in jsp

reddyas avatar Jul 23 '19 06:07 reddyas

provide the code you writting and i give the solution of that beause in jsp many way to insert data in database.

mehul523 avatar Jun 19 '20 05:06 mehul523

Hai

Not required to use foreign key for inserting the data into two tables Just you create two SQL queries for two tables I will send you code for that with in one hour to mail

On Fri, Jun 19, 2020, 10:56 AM mehul523 [email protected] wrote:

provide the code you writting and i give the solution of that beause in jsp many way to insert data in database.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1212050/Shopping-web-Jsp-Servlet/issues/5#issuecomment-646442332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUWNPMCJ3BYZKCFNPYDU3TRXLZJPANCNFSM4IGAJWFA .

reddyas avatar Jun 19 '20 13:06 reddyas

hi i suggest the link of tutorials it will be help to learn the jsp and servlets. servlets link :

https://www.javatpoint.com/servlet-tutorial jsp link: https://www.javatpoint.com/jsp-tutorial

mehul523 avatar Jun 20 '20 09:06 mehul523