Shannyn Barr wrote:
>
> Does anyone have any insight as to the best way to include an
> INSERT line that needs to be added to an Oracle 8i DB using a
> servlet?
>

 You can use the JDBC API in servlets just like you use it
in applications. (Newer versions on the JDBC even handle
connection-pooling for you). Check out:

   http://java.sun.com/products/jdbc/

 If this comes as a suprise, you might also check out:

   http://java.sun.com/products/servlet/

 There's a servlets tutorial in there someplace, it's
worth a read-through.

 Although there are some servlet-related issues wrt JDBC
code, most JDBC questions are not servlet-related and
don't belong on servlet-interest.


> This is an update that needs to be added once the servlet has
> completed its task.
>

 OTOH, Depending on exactly what you mean by 'once the
servlet has completed its task', you question could be more
complicated than it looks. Does the answer 'just put the
JDBC code at the end of your doGet() method' work for you?
If not, what exactly do you mean?



--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
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