@Controller @requestmapping ("/person") Public classPersonmanagerservice {PrivateLogger log = Loggerfactory.getlogger (personmanagerservice.class); @ResourcePrivatePersonmanager Mypersonmanager; PublicPersonmanager Getmypersonmanager () {returnMypersonmanager; } Public voidSetmypersonmanager (Personmanager personmanager) { This. Mypersonmanager =Personmanager; } @RequestMapping (Value= "/searchpageperson.do", method =requestmethod.post) PublicModelandview Searchpageperson (httpservletrequest request, httpservletresponse response) {***}
For problems that are not found in the path specified during the run, see the Spring configuration issue:
<class= " Org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter "/>< base-package= "Com.sinosoft.ie.aids.lab.samples.service"/>
This has to be a match.
No mapping found for HTTP request with URI * (Spring MVC uses annotated way to generate URI path access problem)