Search:

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

Search: Search took 0.02 seconds.

  1. Content-type incorrectly resolved with Jetty 5 and template view

    Hi everyone,

    When using the combiniation of Spring 2, Velocity and Jetty 5 the content type is incorrectly resolved. I've posted this before, but got zero reply (probably because of the confusing...
  2. AbstractTemplatedView resolves contentType incorrect when using Jetty 5

    Hi everyone,

    When using the combiniation of Spring 2 (RC1), Velocity and Jetty 5 (Servlet 2.4) the content type is incorrectly resolved.

    The problem is in the order that things happen in the...
  3. The problem is that it attempts to create the...

    The problem is that it attempts to create the TimerFactory when it tries to create the importUpdates object, which in its turn depends on the importUpdates... So its a cycle. I haven't found a...
  4. Here is the rest of the setters. But thats not...

    Here is the rest of the setters. But thats not the problem. It doesn't matter in which order I set it, non of the debug statements are invoked (and DEBUG is set to true).




    /**
    *...
  5. FactoryBean problem: getObject() invoked before properties set

    I'm using a FactoryBean to instantiate an object, however, Spring invokes the getObject() method before any properties are set on the factorybean. As far as I know this is not normal behaviour. I...
  6. Thanks for the insight. The problem is that I...

    Thanks for the insight. The problem is that I don't want the locale to be defined by the system, but by the session/browser locale. There are also other things I want to format/parse, for example...
  7. right way to use custom editors in non-form velocity pages.

    Hi,

    I want to format dates according to the current locale on Velocity pages that are created by a simple controller. Since there is no binding facility, how do I do that?

    Thanks,
    Vincent
  8. Thanks for the reply. I used a simular solution....

    Thanks for the reply. I used a simular solution. But thats not a total solution. In my form I use PropertyEditorSupport objects to parse and format my properties.

    Because of the inherent...
  9. Spring FormController lacks POST -> REDIRECT support.

    Currently it is good practice to redirect to a success page after submitting a form. Often redirecting to the same page. The redirect ensures that if the user hits reload the page is not resubmitted....
  10. Replies
    1
    Views
    5,955

    mvc: POST-REDIRECT-GET

    hi everyone,

    I'm using the spring MVC framework, and I'm wondering how to do this correctly. I have a website that uses an input form. When errors are found, that form has to be reloaded, when...
  11. Its solved, I downloaded a different version of...

    Its solved, I downloaded a different version of Jetty and now it work.
  12. [Solved] Log4J error at init DispatcherServlet in Jetty

    I'm attempting to start spring from Jetty, however I get the following error:

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ...
Results 1 to 12 of 12