Search:

Type: Posts; User: davey; Keyword(s):

Search: Search took 0.03 seconds.

  1. No problems, glad to help. Post if you have...

    No problems, glad to help.

    Post if you have any more issues.
  2. Is this the sort of thing you are looking for? ...

    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
  3. What does the SQL look like that Spring is...

    What does the SQL look like that Spring is generated? Is it valid?

    What Oracle drivers are you using?
  4. If you follow the Spring tutorial, you will see...

    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...
  5. Thread: Logout problem!

    by davey
    Replies
    3
    Views
    939

    If you are using Spring Security, you can log out...

    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...
  6. Hi, glad it's working. Spring ORM should only...

    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...
  7. Try adding something like this to add JPA: ...

    Try adding something like this to add JPA:


    <!-- JPA -->
    <dependency>
    <groupId>org.hibernate.java-persistence</groupId>
    <artifactId>jpa-api</artifactId>...
  8. Replies
    1
    Views
    1,195

    Its probably not good practive to create users...

    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...
  9. Is your pom.xml correct? If it has any errors,...

    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?
  10. Replies
    2
    Views
    567

    I think you need to put a name attribute into...

    I think you need to put a name attribute into your bean definition, i.e.


    <bean name="/scott.htm" class="ecommerce.test.ScottController"/>
  11. Replies
    2
    Views
    926

    Hi, Thanks for your help. I've been looking...

    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...
  12. Replies
    2
    Views
    926

    Spring Web Annotations - HTTP 404 Not Found

    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...
  13. I think you need to have a file called...

    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.
Results 1 to 13 of 13