Ok, there's a whole parallel dependency chain for the WAR file (J2EE Module Dependencies). Knew it was something simple.
Type: Posts; User: pearsons_11114; Keyword(s):
Ok, there's a whole parallel dependency chain for the WAR file (J2EE Module Dependencies). Knew it was something simple.
Just trying to get the most basic test app running and getting the following:
web.xml
spring.jar and spring-webmvc.jar have been added to the build path (added them as external jars to...
Well, after much hair-pulling, it turns out that HttpSessionContextIntegrationFilter was not the problem. This feature (authenticating once only) simply didn't work. However the failure was masked if...
Having a conceptual block; hope someone will take pity. The idea behind HttpSessionContextIntegrationFilter is that when a request is made, Acegi will first check to see if there is an Authentication...
Ay yi yi. Lobotomized by the Visual Basic. "You mean EL is case-sensitive, too?" ;-)
Thanks for the help.
The errors.rejectValues method does not appear to work correctly when validating collections. For example, this works:
rejectValue("someField", "", "") or
rejectValue("someObject.someField", "",...
Thanks. That's exactly what I was looking for.
However, I'm finding that in general the provided form controllers don't extend very well to anything beyond very basic form handling. In...
Cool. Thanks.
The search seems to only go back a few months. Any way to browse archives or do they fall off into oblivion? Thanks.
Declaring the PropertyEditor as a nested class as well and letting the default JavaBeans mapping happen solves the problem. That would seem to indicate that there's a problem with how Spring deals...
<bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer">
<property name="customEditors">
<map>
<entry...
Are there any known issues with registering a property editor on a nested class? I had a CustomEditorConfigurer set up to map to a non-nested class. Everything works great. When I change the...
This is a continuation of an earlier post of mine and several others that have appeared on this general topic. Having poured over the source code and thought about the problem a bit more, I think I...
I've been implementing validation in my application using the Spring custom tags. Works fine on Tomcat 4, but not so on JRun. Here's part of the trace:
jrunx.compiler.DefaultCFE: Compiler...
However, it does have the drawback of doing a lot of unnecessary work in the case of a cancel. That was the original poster's objection in the other thread I mentioned. I've looked at the doc and...
And it was even right there in the documentation waiting for me, with this issue as the example use case. Duh. Thanks for the pointer.
How do you allow a user to cancel a form submission that has errors and fails validation? Some solutions that were suggested in an earlier post:
1. Override suppressValidation. However, since it's...
Hmm...sounds like your are giving me the answer to a problem I hadn't thought of: calling the same view from multiple URLs. However, c:url doesn't solve the original problem, because the WYSIWYG tool...
At runtime, URLs in a page reflect an address relative to the URL that was used to call the servlet, but at design time, these pages are located elsewhere (e.g., under WEB-INF/jsp). So for example,...
Hmm, I think the only way to achieve this is to supply the class name as string to a factory. Any suggestions still appreciated. Thx.
Is there a way to specify the class= attribute of the <bean> tag or the bean= attribute of the <ref> tag with a value from a property file? I have only been able to make PropertyPlaceholderConfigurer...
Hmm...seem to be having the same problem re JRun with dispatcher-servlet.xml loading before applicationContext.xml. Reverting to the ContextLoaderServlet and setting load-on-startup seems to solve...
Worked. Thanks!
I have simple test app that deploys flawlessly on Tomcat 4.0, but tanks on JRun. For each Acegi filter I get an IllegalStateException with the message that a WebApplicationContext wasn't found. Only...
I have simple test app. that secures a subdirectory. If I navigate to that directory directly in the browser, I'm redirected to login form as expected. However if I forward to a page in the secure...