Home > Back-end >  Less than the request for springmvc @ RequestMapping interception
Less than the request for springmvc @ RequestMapping interception

Time:12-06

My configuration

Project directory:


Web.xml



The applicationcontext.xml


XML for springmvc - config.


LoginController


The login. The HTML map here is successful


Results:
To access the login. The HTML

Click login jump, 404, and is the right address less project name

Manually add the project name to address can success after


Why the mapping is wrong
  • Related