I used spring.
Is there an equivalent controller strategy for pure plain java-ee 6/7? Like there is spring controllers which take care of path params, request params, return types, redirecting, redirecting to views with a modelAndView object to carry data?
@Controller
class MyControllerClass {
@RequestMapping...
method(){
ServiceCall()...
//put something to modelAndView object here and redirect to jsp page.
return "home"; // this will redirect data to home.jsp
}
}