Hi I am new to Spring MVC ,I want to call method from one controller to another controller ,how can I do that .please check my code below
@Controller
@R
You never have to put business logic into the controller, and less business logic related with database, the transactionals class/methods should be in the service layer. But if you need to redirect to another controller method use redirect
@RequestMapping(value="/updatePSWD")
@ResponseBody
public String updatePswd()
{
return "redirect:/getUser.do";
}