Home > Back-end >  For SpringMVC address mapping to the JSP view
For SpringMVC address mapping to the JSP view

Time:09-25

I recently on a page, the parser is configured with two views, one of which is a JSP, why can't the path of the map to the JSP configuration above add. The address at the end of the JSP, add after page access this path directly from the webapp/access to the address below, and not after the controller
As shown in figure, this is a JSP configuration,

This is the address of the folder file


This is normal access results page

Here's the thing, if the controller address I change to this

I changed to such access address, is this access as a result,

The background of error message
ERROR: PWC6117: the File "E: \ WorkSpace_IDEA \ XMJF \ XMJF - parent \ XMJF - admin \ SRC/main/webapp \ single JSP" not found
But if you remove the address on the page. Behind the JSP this still can be normal access to the JSP,
Now I am in an other way, the controller layer address change
@ RequestMapping ("/single. Dd ")
Tests found "http://localhost:9083/admin/single.dd" and "http://localhost:9083/admin/single" can be normal visit

Who can tell me, why is the suffix. The access method and JSP. The dd is not the same? Why use. When the JSP controller is failure, and. The dd is normal?
  • Related