Marcos wrote:

> hi,
>
>    i am writting a new servlet to save some data into a database and
> return a html page.
>     this is the code:
> [...]

I am not sure, but I guess:

the line -> *ResultSet rs = stmt.executeQuery(insertarProyecto);*
has already inserted a record into your DB, and/but  also throws a
Exception in your Servlet class.

so I suggest you add some lines in your *try-catch*
and show all the Exceptions which have been catched.

Bo
Nov.09, 2000

___________________________________________________________________________
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