Removing spring web flow and make some changes in DAO and service logic