Re: Help with Spring JDBC

2011-03-31 Thread Maurizio Cucchiara
Have you defined a bean for the struts action class inside your applicationContext.xml? Did it include your dao property? On 30 March 2011 20:12, alxer wrote: > Hello, > I am developing a web application with EclipseIDE and I am using the Struts2 > and Spring3 frameworks. > I am trying to configu

Re: Help with Spring JDBC

2011-03-31 Thread Ty Connell
Low hanging fruit comment: virtually 100% of the time I get a NPE when using spring, it's because I'm instantiating objects with "new" instead of letting the app context get the object for me (either explicitly or via injection). On Wed, Mar 30, 2011 at 2:12 PM, alxer wrote: > Hello, > I am dev

Re: Help with Spring JDBC

2011-03-31 Thread Dave Newton
On Thu, Mar 31, 2011 at 11:02 AM, Dave Newton wrote: > This is a Spring question? And are you using the Spring plugin? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@

Re: Help with Spring JDBC

2011-03-31 Thread Dave Newton
This is a Spring question? Dave On Wed, Mar 30, 2011 at 2:12 PM, alxer wrote: > Hello, > I am developing a web application with EclipseIDE and I am using the Struts2 > and Spring3 frameworks. > I am trying to configure the web application acces to my MySQL database. > I am inexperienced with the