Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    4,719

    I'm using JDOM here so for other implementations...

    I'm using JDOM here so for other implementations you'd have to do some digging. What I've included below is just intended to give you a quick idea of the syntax and not as a full explanation. For a...
  2. Replies
    4
    Views
    4,719

    I found my problem. The issue was a fundamental...

    I found my problem. The issue was a fundamental problem with understanding how to set up my XPath parameters and, as such, my Endpoint was expecting a very specific namespace prefix. Once I added...
  3. Replies
    4
    Views
    4,719

    Hello, I'm currently experiencing the same...

    Hello,
    I'm currently experiencing the same issue. I've written a web service using Spring WS, have one namespace declared in my XML document, have used Axis 1.3 WSDL2Java to create a client,...
  4. I would recommend loading the objects from the...

    I would recommend loading the objects from the database each time. This will prevent you from running into stale data due to caching objects in the session (or wherever).

    If performance really...
  5. Well, I found out how to alter those messages. I...

    Well, I found out how to alter those messages. I was not aware that, in order to get handy dandy user-friendly messages for the default spring binding exceptions that you need to wire up a...
  6. Replies
    3
    Views
    935

    Hmm...well, as far as I'm aware there isn't any...

    Hmm...well, as far as I'm aware there isn't any way to do that; however, I'm not a veteran with spring web mvc so maybe someone else knows definitively whether it's possible...

    Best of luck!
  7. Replies
    3
    Views
    935

    Hi Ilya, Overriding the...

    Hi Ilya,
    Overriding the onBind(HttpServletRequest request, Object command, BindException errors) method should give you what you need. You can bind each of the separate fields: date, hours,...
  8. Suppressing/altering Web MVC bind exceptions

    Hello,
    I have a Command object that has Integer/BigDecimal properties. On bind, if the user has entered an invalid value into the fields, Spring generates a nasty failed conversion message...
Results 1 to 8 of 8