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...
Type: Posts; User: ketankhairnar; Keyword(s):
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...
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...
Aspect:
@Aspect
public class LoggingInterceptor
{
Log log = LogFactory.getLog(LoggingInterceptor.class);
@Autowired
private AuditData auditData;
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 ...
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...
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...
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...
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...
Got it working after putting SimpleControllerHandlerAdapter ahead of everything which was missing
<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
<!--...
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...