Use the same way , as you have got the connection while reading the data
from table yyy and then use EXECUTEUPDATE to insert it into the table zzz

Anand
----- Original Message -----
From: V T R Ravi Kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 11:17 AM


> I have a problem...
>
> I have a database say x.mdb  in access and I have written a servlet to get
> a table yyy from the database and show it on a html page. The usere sees
> the data and has to return his choice which is tobe  stored in another
> table named say zzz .
> I order to retreive i had used the following syntax
> ==
> Statement stat=dbConn.createstatement();
> Resultset dfas=stat.executeQuery("SELECT .... FROM"+"yyy");
> ....
>
> while(dfas.next())
> {
> dfas.getString(.......
> ......
> ......
> }
>
> ==
> Inorder to insert something into the same database but another table zzz
> What Should i do
>
>
>
> --
>  V.T.R..
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> For Every Problem, there is a solution, which is simple, neat and wrong !
>                                                            - H.L.Menchen
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to