Re: [Struts 2] Database access [solved!]

2007-01-22 Thread plegal
It works ! Thanks for everybody's help ! The Struts 2 + Spring 2 + JPA + AJAX works with the Struts 2.04 version (not with the 2.01 because of tags problem) http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html I've solve another problem of the tutorial : the table is quickstart.Person a

Re: [Struts 2] Database access

2007-01-22 Thread Don Brown
Another example is the dbportlet archetype. It uses Spring and its JDBC template for DB access. It can be ran as a servlet or portlet app. See http://struts.apache.org/2.x/docs/struts-maven-archetypes.html Don On 1/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, After some reading

Re: [Struts 2] Database access

2007-01-22 Thread plegal
Hi, After some reading in the mailing list I decided to upgrade to struts2.04 for api, core and spring-plugin. Now I have the following error when I launch the Struts2+Spring2+Ajax tutorial application (quickstart). Any idea ? Philippe INFO: Root WebApplicationContext: initialization complete

RE: [Struts 2] Database access

2007-01-22 Thread Dave Newton
That certainly was a lot of the log :/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > GRAVE: "Servlet.service()" pour la servlet jsp a généré une exception > org.apache.jasper.JasperException: /index.jsp(44,4) L'attribut targets > est incorrect pour le tag submit d'après la TLD indiquée A ba

Re: [Struts 2] Database access

2007-01-22 Thread plegal
tanislav a écrit: > > > in java action class you can also connect through struts db mechanisam: > > > DataSource dataSource = (DataSource) > > > context.getAttribute("org.apache.struts.action.DATA_SOURCE"); conn = > > > dataSource.getConnection(); &

Re: [Struts 2] Database access

2007-01-16 Thread Stanislav
ts Users Mailing List" Subject: Re: [Struts 2] Database access Date: Tue, 16 Jan 2007 13:08:05 +0100 - Original Message Follows - > Hi, > > Thanks again. > Is it possible that you give me the complete listing of this example because, > I've problem to find how

Re: [Struts 2] Database access

2007-01-16 Thread Joe Germuska
e,ConnectionPass >word); > > > > From: Philippe Le Gal <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: [Struts 2] Database access > Date: Tue, 16 Jan 2007 11:08:28 +0100 > > - Original Message Follows - > > > Hi, &

Re: [Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
tionPass >word); > > > > From: Philippe Le Gal <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: [Struts 2] Database access > Date: Tue, 16 Jan 2007 11:08:28 +0100 > > - Original Message Follows - > > > Hi, > >

Re: [Struts 2] Database access

2007-01-16 Thread Stanislav
nectionURL,ConnectionUserName,ConnectionPassword); From: Philippe Le Gal <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: Re: [Struts 2] Database access Date: Tue, 16 Jan 2007 11:08:28 +0100 - Original Message Follows - > Hi, > > Thanks for the information. >

Re: [Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
lippe Le Gal <[EMAIL PROTECTED]> > To: user@struts.apache.org > Subject: [Struts 2] Database access > Date: Tue, 16 Jan 2007 10:53:12 +0100 > > - Original Message Follows - > > > Hi, > > > > I'm looking for a simple struts 2 database access example.

re: [Struts 2] Database access

2007-01-16 Thread Stanislav
in struts-config for sql database. From: Philippe Le Gal <[EMAIL PROTECTED]> To: user@struts.apache.org Subject: [Struts 2] Database access Date: Tue, 16 Jan 2007 10:53:12 +0100 - Or

[Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
Hi, I'm looking for a simple struts 2 database access example. Thanks for any url Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]