|
Subject:
|
help me linking to database
|
|
Posted By:
|
kusum
|
Post Date:
|
4/14/2006 9:11:51 PM
|
hiya  i am using jsp and postgresql. i ahve managed to establish a connection with my database and it works, but i am trying to add data from my html page to the database and know that i have to use jsp. i have to create a jsp page and a bean as well right? i am not too sure.... can some1 pleeeeaaassseee help me!!! i would be very grateful.... and bit of coding to help me wuld be appreciated!! thanks Kusum
|
|
Reply By:
|
hitu_patel_soft
|
Reply Date:
|
4/20/2006 9:20:07 AM
|
There are two ways. You can also do it without use of beans as well using beans. If you do not use beans then you have to make connection in jsp file and then write executeUpdatw command in the jsp file after getting all the data from request.
For beans you have to set the data to the bean's properties. and then you have to insert it to database
|
|
Reply By:
|
kusum
|
Reply Date:
|
4/20/2006 2:38:33 PM
|
hey hitu thanks for your reply
|