Search:

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

Search: Search took 0.01 seconds.

  1. LocalValidatorFactoryBean causing MVC Internal Server Error

    I am using JSR-303 bean validation in a Spring MVC project. Everything works fine when I have a JSR-303 provider on the classpath, and leave all other validation settings in their default modes. I'd...
  2. I found a roundabout way to do this using the...

    I found a roundabout way to do this using the standard MVC JSP taglib. I make this available to Freemarker:


    <#assign form=JspTaglibs["http://www.springframework.org/tags/form"] />
    I then use...
  3. Displaying Spring MVC validation errors in Freemarker templates

    I'm trying to display a list of global validation errors in my freemarker template if a controller returns binding errors. I can display errors that are associated with a field, but I want to detect...
  4. Replies
    1
    Views
    385

    It would appear that the problem is the site...

    It would appear that the problem is the site parameter in the create() method in my controller:


    @ModelAttribute("site") Site site
    Removing that stops Spring binding to fields in that object....
  5. Replies
    1
    Views
    385

    MVC binding to wrong fields?

    I have a controller with 2 methods that return related objects via the @ModelAttribute annotation:


    @ModelAttribute("site")
    public Site getSite(){
    .....
    return site;
    }
    ...
  6. Thanks. For future reference: shifting the filter...

    Thanks. For future reference: shifting the filter configuration to after the spring security configuration in web.xml fixed the issue.
  7. getAuthentication() returns null in servlet filter

    Hi,

    I'm currently working on a web app which contains a plain old servlet filter, as defined in web.xml on tomcat:



    <filter>
    <display-name>IPS Security Filter</display-name>...
  8. Replies
    4
    Views
    3,593

    Thanks, I've created an issue at: ...

    Thanks, I've created an issue at:

    jira.springframework.org/browse/SEC-963

    Either of your suggestions would be suitable but it makes sense to me to set the default to root.
  9. Replies
    4
    Views
    3,593

    Looks like this is a mystery then. I managed to...

    Looks like this is a mystery then. I managed to get this working by following the advice in the post above and replacing the namespace based configuration with a more traditional bean/xml based one....
  10. Replies
    4
    Views
    3,593

    Bouncy Bouncy...

    Has anyone got any further input into this thread? I'm experiencing the same LDAP group base problem at the moment and could use a few pointers on this.
  11. It appears having the field name within the...

    It appears having the field name within the statement was indeed causing the problem. Changing the update method to the following fixed the issue:


    public int updateRank(String fieldName,...
  12. Updates with JdbcTemplate not being commited

    Hi, I'm trying to update a record in a MS SQL 2000 Db using the JdbcTemplate.Update method. While using the JdbcTemplate to query the database works correctly, the update method has no effect. My...
Results 1 to 12 of 12