Hi All,
I am getting the below exception trace when the application starts up. I am using Spring 3.0 and the application is deployed on JBoss 4.3.
Funny (annoying) part is that the application...
Type: Posts; User: anoop nair; Keyword(s):
Hi All,
I am getting the below exception trace when the application starts up. I am using Spring 3.0 and the application is deployed on JBoss 4.3.
Funny (annoying) part is that the application...
Thank Enrico
That works perfectly now after moving the configs to separate files.
The issue is resolved now. If the aop configuration and the other mvc configuration is moved to separate spring config files, this excetion does not occur.
Explained here in this link ...
Hi Marten,
Thanks for the pointer. I added an @Component to my aspect class. Now Spring scans the aspect.
However, now I get another exception related to AOP config.
...
Hi guys,
I am not sure whether to post this in the AOP forum or the MVC forum.
I have an MVC application that works fine. I want to introduce AOP in this application.
Below is my code:...
Hi guys,
I am not sure whether to post this in the AOP forum or the MVC forum.
I have an MVC application that works fine. I want to introduce AOP in this application.
Below is my code:...
Hi,
Below is the form class I am using. I want the pattern validation on phoneNo field to occur only when the @NotEmpty validation succeeds. I want to show a different validation message for both...
Hi,
I "googled" around and found some posts which suggested a similar thing.
http://blog.codeleak.pl/2011/03/how-to-jsr303-validation-groups-in.html
It works just fine for me. :D
Hi,
I have a form where the user can select his preferrred mode of communication (email or phone).
I have to validate the fields accordingly. (i.e if email is selected only email field should be...
The issue is resolved.
It seems like @Size(min=1) does not work with Lists.
I tried @NotNull and @NotEmpty. Both work fine.
Thank you. :)
Hi All,
I am trying to do validation using JSR 303 specification in my controller. However, it is not working. Below is the code of my controller and form class and also the spring xml config...
Hi jzcfk9,
Thanks for that...!!! I guess I understand it now.. :)
Thank for the pointer (;))Marten....
I added the one line below to my spring xml file and it works like a charm now...!!!
<context:annotation-config/>
Thanks a lot for the help.
Thanks for the reply Marten.
I had put "java.util.List" by mistake. I have corrected the code to "java.util.ArrayList". It still doesnt work.
Dependencies are being injected by Spring only. I am...
Hi All,
I am trying to autowire a list in my class using annotation. The list is defined in xml config file as a normal bean. However it is not working.
Below is the xml config file snippet:
...
Hi All,
I am using Spring Security 3.0.
My application has two different types of login. The URLs for both are different and also both types of login interact with different databases.
I...
Hi All
I am using spring 2.5.
I have a wizard controller for doing a form submission.
In the second page of the wizard, there are a list of options which the user can select.
the jsp code...
Thanks Marten....
I was indeed using an old driver.... in fact I had the classes12.jar in the classpath instead of ojdbc14.jar... Also I changed the driver class in the datasource bean to...
I didnt get what you meant by this ?
That is the only stack trace..
It keeps putting the same thing again and again... Like an infinite loop.....
I waited 10 mins for it to get over.... still didnt get over.... and I had to...
Hi All,
I have a simple Java application with Spring 2.5 and Hibernate 3. I am using c3p0 for managing the connection pool.
I am using Oracle 11g as the database.
On running the application, I...
Hi Luke,
Thanks for your suggestion. My filter was not actually handling the url....
I added the following line to my filter bean and now it works.
<property name="filterProcessesUrl"...
/loginURL is the url to which i am submitting the login form.
i didnt get the part about it being protected...:confused:
What I am trying to achieve is something like this forum. Where people...
Hi rwinch,
As per ur suggestion i tried extending AuthenticationProcessingFilter.
My security xml looks as below:
<security:http auto-config="false"...
thanks rwinch.
can u provide me some sample with which i can get started ?