• Now all data be ready for publish, We had made our blog alive now. Haha.



  • These days CCP GFW blocked all the IPs from US and when I switch my IP in google Cloud, the disk data cannot be restore again. I have to restart my blog totally, Now the website is still building…



No mapping found for HTTP request with URI [/WEB-INF/pages/apiForm.jsp] [duplicate]- Stack Overflow

Java PingBook 2 months ago (10-23) 21 0

Question

This question already has an answer here:

Why does Spring MVC respond with a 404 and report “No mapping found for HTTP request with URI […] in DispatcherServlet”?

6 answers

My handler forwards to internalresourceview ‘apiForm’ but then i get error 404 RequestURI=/WEB-INF/pages/apiForm.jsp. I’m sure apiForm.jsp located in /WEB-INF/pages/

13:45:02,034 DEBUG [org.springframework.web.servlet.view.JstlView] –
Forwarding to resource [/WEB-INF/pages/apiForm.jsp] in InternalResourceView ‘apiForm’
13:45:02,035 DEBUG [org.springframework.web.servlet.DispatcherServlet] –
DispatcherServlet with name ‘testapp2’ determining Last-Modified value for [/WEB-INF/pages/apiForm.jsp]
13:45:02,038 DEBUG [org.springframework.web.servlet.DispatcherServlet] – No handler found
in getLastModified
13:45:02,038 DEBUG [org.springframework.web.servlet.DispatcherServlet] –
DispatcherServlet with name ‘testapp2’ processing request for
[/WEB-INF/pages/apiForm.jsp]
13:45:02,038 WARN [org.springframework.web.servlet.PageNotFound] – No mapping found for
HTTP request with URI [/WEB-INF/pages/apiForm.jsp] in DispatcherServlet with name ‘testapp2’
13:45:02,045 DEBUG [org.springframework.web.servlet.DispatcherServlet] – Successfully completed request
13:45:02,048 DEBUG [org.springframework.web.servlet.DispatcherServlet] – Successfully completed request

this is how my dispatcher.xml look like..

Answer

Looks like DispatcherServlet is trying to process the request for apiForm.jsp, which suggests to me that your web.xml servlet-mapping is directing requests for that space to DispatcherServlet.

You might have something like this?


dispatcher
/*

Try calling your controllers with a different extension (.do for example) and update the servlet-mapping to suit


dispatcher
*.do




Copyright from PingBook Blog, If not specified, they are original. This site uses BY-NC-SAProtocol authenticated.
For reprinting, please indicate the link of the original text:No mapping found for HTTP request with URI [/WEB-INF/pages/apiForm.jsp] [duplicate]- Stack Overflow
LIKE (0)
[1725641479@qq.com]
SHARE (0)
PingBook
Author:
We create, We sharing! Tag every value data your sharing
Submit comments
Cancel comments
emoji picture bold strikethrough center italic check in

Hi,you need to provide your name and email adress!

  • Name (Required)
  • Email (Required)
  • Website