Hello Manuel,
Here are my finding
Validation.buildDefaultValidatorFactory().getValidator()
creates one and only one validator.
Type: Posts; User: amirraminfar; Keyword(s):
Hello Manuel,
Here are my finding
Validation.buildDefaultValidatorFactory().getValidator()
creates one and only one validator.
Hello,
The other implementation I have used was Apache's implementation. I came to this conclusion by doing two things. First, I ran a profiler with jVisualVM while validating these objects....
We have been using LocalValidatorFactoryBean to validate over 1 million objects. After performance profiling and looking at multiple stack dumps, it seems like Spring is creating a new instance of...
Yep, thats what i did. Except after a succesful submit I return to the same controller which creates the session object again. As a result, the session will grow until browser is closed.
But...
So I ended up handling my own session for the command. But there must be a better way. It doesn't make sense for every one controller to share one command in session.
But now it breaks other things :(
does any body have a solution where it can be saved in session but more than one copy will work?
Seems like this fixed it.
<property name="sessionForm" value="false"/>
Go figure.
I am running to an unusual problem and I can't figure out if its my code or if it is a bug in spring. Basically, I have an admin tool which allows the editing and maintaining of a website. Users can...