Search:

Type: Posts; User: kai.moritz; Keyword(s):

Search: Search took 0.03 seconds.

  1. Problem solved!

    After one week of debugging (I striped down my original project until I was able to identify the source of the described error) I now know what went wrong:

    The exposed method of the faulty...
  2. Collections are not persisted, because Spring sets Hibernate-Flush-Mode to Manual

    My Spring-3.0.5/Hibernate-3.3.0 webapp does not store collections. When creating a new persitent object with an asscociated collection, the object is persited, but the collection not. In a test-case...
  3. I am not sure, if I get you right. Yout have...

    I am not sure, if I get you right.

    Yout have to differentiate between the servlet-mapping, which is configured in web.xml and the request-mapping, which is configured via the...
  4. You got me wrong! (Perhaps, because of my bad...

    You got me wrong! (Perhaps, because of my bad english...)

    In my case, it was like this:

    When you change the servlet-mapping from

    /*

    to
  5. Thanks for your reply! I will stick to...

    Thanks for your reply!

    I will stick to annotations than and map all URI's to one method...

    Greetings

    Kai Moritz
  6. Using similar RequestMapping-patterns for different methods

    When defining the request-mapping in a xml-document, one can use something like this:

    /foo/bar/foo.html=X
    /foo/**.html=Y

    In this situation, the first matching pattern will win. So, if the URL...
  7. I had the same problem yesterday. When mapping...

    I had the same problem yesterday.

    When mapping onto a path like /foo/*, the RequestMapping-Annotation only sees the part that matches the *.

    Hence, in your case it will work again, if you...
  8. My fault! The solution (

    My fault!

    The solution (<tx:annotation-driven proxy-target-class="true"/>) still works with 3.0.x!

    I just confused <mvc:annotation-driven/> and <tx:annotation-driven/>
  9. Problem with @RequestMapping and Interfaces in 3.0.x

    Hi folks!

    I have a problem with a controller-class, which implements an interface.
    I am using the new namespace-configuration with no special adjustments, just like in all the examples in the...
  10. Replies
    3
    Views
    1,740

    Here is my configuration. Not perfect, but it...

    Here is my configuration. Not perfect, but it works for me. I patched it up from my old configuration, the small bits in the HTML-documentation and your excellent Blog post: Behind the Spring...
  11. Replies
    3
    Views
    1,740

    Thank you for that quick answer. I decided to...

    Thank you for that quick answer.

    I decided to switch back to bean-style configuration, because in my opinion, it is more convenient to have all configuration in one place, rather than have it...
  12. Replies
    3
    Views
    1,740

    Run-As configuration

    Hi Folks!

    I'm migrating from 2.0.5 to 3.0.2.

    Encouraged by the documentation, I'm trying to switch my old beans-style configuration to the new namespace-approach.

    But I'm not able, to get...
Results 1 to 12 of 12