Search:

Type: Posts; User: anoop nair; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. IllegalStateException on startup of web application

    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...
  2. Replies
    4
    Views
    1,223

    Resolved

    Thank Enrico

    That works perfectly now after moving the configs to separate files.
  3. Resolved

    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 ...
  4. Cannot subclass org.springframework.web.servlet.handler.MappedInte rceptor

    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.


    ...
  5. AOP Not working with Spring 3 MVC application

    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:...
  6. Replies
    4
    Views
    1,223

    AOP not working with Spring MVC.

    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:...
  7. Spring JSR 303 control order of constraints on a Field. All constrains in same group.

    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...
  8. Replies
    1
    Views
    918

    Hi, I "googled" around and found some posts...

    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
  9. Replies
    1
    Views
    918

    Spring 3.0 annotated validation using groups not working. Validation is always succes

    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...
  10. Resolved.

    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. :)
  11. JSR 303 Validatrion with Spring 3.0 not working

    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...
  12. Hi jzcfk9, Thanks for that...!!! I guess I...

    Hi jzcfk9,

    Thanks for that...!!! I guess I understand it now.. :)
  13. Thank for the pointer (;))Marten.... I added...

    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.
  14. Thanks for the reply Marten. I had put...

    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...
  15. Spring 3 Annotation @Autowire for list not working

    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:
    ...
  16. How to implement two different login types in one application

    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...
  17. Binding problem with Wizard Controller when navigating to next page

    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...
  18. Resolved

    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...
  19. I didnt get what you meant by this ?

    I didnt get what you meant by this ?
  20. That is the only stack trace.. It keeps putting...

    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...
  21. c3p0 with Spring 2.5 and Hibernate 3 throwing exception

    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...
  22. Solved.

    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"...
  23. /loginURL is the url to which i am submitting the...

    /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...
  24. Hi rwinch, As per ur suggestion i tried...

    Hi rwinch,

    As per ur suggestion i tried extending AuthenticationProcessingFilter.

    My security xml looks as below:



    <security:http auto-config="false"...
  25. thanks rwinch. can u provide me some sample...

    thanks rwinch.

    can u provide me some sample with which i can get started ?
Results 1 to 25 of 41
Page 1 of 2 1 2