HI,
you have to use @Before("execution(* *.createParty(..))") instead of @Before("execution(* createParty(..))")
Type: Posts; User: sravankumar; Keyword(s):
HI,
you have to use @Before("execution(* *.createParty(..))") instead of @Before("execution(* createParty(..))")
how can we load intercept urls from database in spring security.
please help me.
thanks in advance.
my context.xml is like this
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
when we use location.href will be a new request rather than form submission.
so, better to use form submission.
I want to develop a project which is based on the role.
If a particular user logs in based on his roles menu has to changed.
and admin user dynamically can change his roles.
and i want to store...
my dispatcher-servlet.xml is
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" >
<property name="interceptors">
<list>
<ref bean="themeChangeInterceptor" />
<ref...
I created a pojo as
package com.web;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
package com.controllers;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import...