Search:

Type: Posts; User: ketankhairnar; Keyword(s):

Search: Search took 0.00 seconds.

  1. In my spring-mvc application am using for...

    In my spring-mvc application am using for following two purposes:

    Audit Trail for portal user actions for some critical features
    Masking some user data eg. SSN when exposed to portal/outside...
  2. Replies
    11
    Views
    4,571

    Autowiring works in my application as I have...

    Autowiring works in my application as I have context-component-scan declaration.

    I got it working by marking my aspect @Configurable


    @Configurable
    @Aspect
    public class LoggingInterceptor...
  3. Replies
    11
    Views
    4,571

    Aspect: @Aspect public class...

    Aspect:

    @Aspect
    public class LoggingInterceptor
    {
    Log log = LogFactory.getLog(LoggingInterceptor.class);

    @Autowired
    private AuditData auditData;
  4. Replies
    11
    Views
    4,571

    my bad, sorry for the confusion I tried both...

    my bad, sorry for the confusion
    I tried both approaches :

    1) putting "dao" in Aspect and configuration is done as mentioned above. So I had getter and setter for dao

    2) using @Autowired ...
  5. Replies
    11
    Views
    4,571

    I do have a Service bean/Controller bean with...

    I do have a Service bean/Controller bean with with this dao as Autowired dependency and that works fine. I tried these combination just for testing.
    Configuration is as below:


    <!-- Turn on...
  6. Replies
    11
    Views
    4,571

    Autowiring in Aspects

    I am using Spring MVC for web applications and for Audit logging I am using AOP and it works when I log the changes using log4j. I want to dump these changes to database and for this I am using...
  7. Replies
    1
    Views
    792

    Actually Here I was using ServicePackageModel...

    Actually Here I was using ServicePackageModel which extends ServicePackage. ServicePackage is @Entity object in one of the jars in the classpath and its not serializable.

    If I create...
  8. Replies
    1
    Views
    792

    model to form binding

    Am facing model to form binding problem.


    I define modelAttribute for view-state and use on-render to prepopualte some of the values
    Validator works on form submit but then it clears all other...
  9. Got it working after putting...

    Got it working after putting SimpleControllerHandlerAdapter ahead of everything which was missing


    <bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />


    <!--...
  10. AbstractWizardController failing with Spring 3.0.0.M3

    Hi,
    I tried using Spring WebFlow but it didn't work. I'll work on it over the weekend.

    Here is the error am getting

    Root cause is: No adapter for handler...
Results 1 to 10 of 10