when i am putting autowiring interceptor(interceptor-ref name="autowiring") in the action tag in spring.xml then struts tag in index.jsp does not able to map with the setter of that action class. and when i am removing that autowiring tag from the action tag then in that case struts tag of jsp does able to map with the setter of the action class.
Any help from your side will be more than welcome. if you need any sort of example then let me know.
<s:textfield name="name" label="Name" />
<s:textfield name="salary" label="Salary" />
<s:submit value="Add Record" />
then this struts tag with name 'name' and 'salary' does not set the value in action class represented with the same name of setter/getter.
public void setName(String name) {
this.name = name;
}
public void setSalary(String salary) {
this.salary = salary;
}