I'am trying to
test my @RestController on abbility of redirecting.
For testing aims it must redirect on localhost.
Servlet mapping is:
I run application and enter, for example:
But I receive an 404-error.
When I use instead of "access_approved" absolute-path of real-sites (for example, "https://stackoverflow.com/") its working well.
So, the problem is focused on pages, which located at my-project-structure.
In my webapp-directory I have 2 html-files:
access_denied.html
access_approved.html.