first you need to configure your DataSource in /WEB-INF/web.xml as in this
example
<context-param> <param-name>
javax.servlet.jsp.jstl.sql.dataSource </param-name> <param-value>
jdbc:mysql://hostname:Port/DBName,com.mysql.jdbc.Driver,username,password
</param-value> </context-param>Martin
______________________________________________Disclaimer and confidentiality
noteEverything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not endorse distribution to any party other than intended recipient.
Sender does not necessarily endorse content contained within this
transmission.> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject:
RE: jdbc sql update doesn't work> Date: Sun, 30 Dec 2007 14:02:43 +0100> > >
The logs don't say anything because there's no errors. It simply doesn't update
the database without giving errors.> > Date: Sun, 30 Dec 2007 10:38:45 +0000>
From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: jdbc sql
update doesn't work> > rameau rameau1982 wrote:> > hi!> > When trying to do an
update on my database via JDBC it doesn't do> > anything. I give you the
sources and if somebody can help me it would be> > great! thank's!> > PS:
everything else works perfectly.> > What do the logs say?> > p> > > > >
------------------------------------------------------------------------> >
Sigue los principales acontecimientos deportivos en directo. MSN Motor> >
<http://video.msn.com/video.aspx?mkt=es-es>> > > > > >
------------------------------------------------------------------------> > > >
---------------------------------------------------------------------> > To
start a new topic, e-mail: users@tomcat.apache.org> > To unsubscribe, e-mail:
[EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED]> > >
---------------------------------------------------------------------> To start
a new topic, e-mail: users@tomcat.apache.org> To unsubscribe, e-mail: [EMAIL
PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> >
_________________________________________________________________> Tecnología,
moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la
última> Guapos y guapas, clips musicales y estrenos de cine.
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec