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...
Type: Posts; User: elameno; Keyword(s):
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...
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...
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,...
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...
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...
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!
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,...
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...