No problems, glad to help.
Post if you have any more issues.
Type: Posts; User: davey; Keyword(s):
No problems, glad to help.
Post if you have any more issues.
Is this the sort of thing you are looking for?
http://www.intertech.com/Blog/post/Spring-MVC-Command-Beans-As-Complex-As-You-Need.aspx
What does the SQL look like that Spring is generated? Is it valid?
What Oracle drivers are you using?
If you follow the Spring tutorial, you will see that this is almost exactly what you want to do.
http://static.springsource.org/docs/Spring-MVC-step-by-step/
You need a controller page to cause...
If you are using Spring Security, you can log out with a link such as:
<a href="j_spring_security_logout">Logout</a>
You can then get Spring to redirect to a page to say you have successfully...
Hi, glad it's working.
Spring ORM should only bring in Spring dependencies and not Hibernate jars.
Because this is using Hibernate Entity Manager, the relevant Hibernate jars will be pulled in...
Try adding something like this to add JPA:
<!-- JPA -->
<dependency>
<groupId>org.hibernate.java-persistence</groupId>
<artifactId>jpa-api</artifactId>...
Its probably not good practive to create users within your app if you can get away with it. There are potentially security implications with your DB if you allow this.
Having said that, the...
Is your pom.xml correct? If it has any errors, the dependencies don't download and you won't be able to access the features.
What dependencies have you adfded for JPA?
I think you need to put a name attribute into your bean definition, i.e.
<bean name="/scott.htm" class="ecommerce.test.ScottController"/>
Hi,
Thanks for your help.
I've been looking at this all day trying to figure it out and as soon as I've come to reply I've noticed that the url-pattern for my servlet was set to /.htm rather...
Hi,
I'm trying to convert the sample InventoryController to use Spring annotations but keep hitting problems.
My InventoryController is defined as below.
When I deploy the app, I get a debug...
I think you need to have a file called springapp-servlet.xml in your WEB-INF folder rather than the xxxxx-servlet.xml file that you have.