I have configured dispatcher servlet as below
This is my view resolver
Now, i got a requirement to popup dynamic generated HTML page. My directory structure is as below.
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" />
Now when i tried to open http://localhost:8084/myProject/docs/generatedHTML.html
> generated html
> all jsp pages
view resolver is looking for jsp page and return 404.
If i change url-pattern of dispatcher servlet it works. But as i have already implement the most of the project i don't want to change in the all controllers.
Is there any way in SPRING to bypass the view resolver and it will look for html? or any other solution?