Thread: jdbc

jdbc

From
Ebrahim Ahmed
Date:
Hi ,
Im given a task of creating a database, and a connection to it via jdbc! ,
i've created the database with the col, id,lastname, password, now i need to
create the application which will interact with this database. Im totally
lost in this as this is new to me! please can u help or advise me on what to
do! Ive created an html page with the following Last name and password
fields with a submit button.

<<...OLE_Obj...>> 
Ebrahim Ahmed
Software Development
1 Samrand Ave 
Samrand Industrial & Commercial Park
Centurion
0157
South Africa

Office:  +27(0) 12 677 6334
Fax:      +27(0) 12 677 6677
Mobile: +27(0) 83 488 3838

Email: ebrahima@elcym.co.za








Re: jdbc

From
"John Oakes"
Date:
I'm assuming since you have an html form to get the username and password
you will be using a servlet or jsp page to access the database.  You use
request.getParameter("paramatername") to retrieve the form values.  Make
sure you start your database with the -i flag for tcp connections.  Bruce
Momjian's book has an example of creating a connection and executing a query
using JDBC; you can view it online at:

http://www.ca.postgresql.org/docs/aw_pgsql_book/node154.html

Hope that helps.

John Oakes




"Ebrahim Ahmed" <EbrahimA@elcym.co.za> wrote in message
news:CDE32573CDD8D411ABCA0008C7B1C5592D9288@HO-SRV-EXC-01...
> Hi ,
> Im given a task of creating a database, and a connection to it via jdbc! ,
> i've created the database with the col, id,lastname, password, now i need
to
> create the application which will interact with this database. Im totally
> lost in this as this is new to me! please can u help or advise me on what
to
> do! Ive created an html page with the following Last name and password
> fields with a submit button.
>
>
>  <<...OLE_Obj...>>
> Ebrahim Ahmed
> Software Development
> 1 Samrand Ave
> Samrand Industrial & Commercial Park
> Centurion
> 0157
> South Africa
>
> Office:  +27(0) 12 677 6334
> Fax:   +27(0) 12 677 6677
> Mobile: +27(0) 83 488 3838
>
> Email: ebrahima@elcym.co.za
>
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>