You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented all methods in the controller, but in the test case testAddVideoData I've noticed that the URL (in subsequent POST) is malformed :
2014-07-28 21:35:21.853 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.view.JstlView : Forwarding to resource [video/1/data] in InternalResourceView 'video/1/data'
2014-07-28 21:35:21.856 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : DispatcherServlet with name 'dispatcherServlet' processing POST request for [/video/1/video/1/data]
2014-07-28 21:35:21.856 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Request is already a MultipartHttpServletRequest - if not in a forward, this typically results from an additional MultipartFilter in web.xml
2014-07-28 21:35:21.857 DEBUG 16681 --- [nio-8080-exec-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Looking up handler method for path /video/1/video/1/data
2014-07-28 21:35:21.858 DEBUG 16681 --- [nio-8080-exec-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Did not find handler method for [/video/1/video/1/data]
2014-07-28 21:35:21.860 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : Matching patterns for request [/video/1/video/1/data] are [/**]
2014-07-28 21:35:21.860 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : URI Template variables for request [/video/1/video/1/data] are {}
2014-07-28 21:35:21.861 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapping [/video/1/video/1/data] to HandlerExecutionChain with handler [org.springframework.web.servlet.resource.ResourceHttpRequestHandler@2492eec9] and 1 interceptor
I'm not pretty sure whether is a bug in the test case or in my implementation; I'm supposing that some part of code is re-appending the POST URL at the end; also I've reviewed and debugged my code in order to determine if I'm appending the URL or not, and I've noticed that my code isn't doing that.
Can somebody confirm this behaviour?
The text was updated successfully, but these errors were encountered:
I've implemented all methods in the controller, but in the test case testAddVideoData I've noticed that the URL (in subsequent POST) is malformed :
2014-07-28 21:35:21.853 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.view.JstlView : Forwarding to resource [video/1/data] in InternalResourceView 'video/1/data'
2014-07-28 21:35:21.856 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : DispatcherServlet with name 'dispatcherServlet' processing POST request for [/video/1/video/1/data]
2014-07-28 21:35:21.856 DEBUG 16681 --- [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Request is already a MultipartHttpServletRequest - if not in a forward, this typically results from an additional MultipartFilter in web.xml
2014-07-28 21:35:21.857 DEBUG 16681 --- [nio-8080-exec-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Looking up handler method for path /video/1/video/1/data
2014-07-28 21:35:21.858 DEBUG 16681 --- [nio-8080-exec-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Did not find handler method for [/video/1/video/1/data]
2014-07-28 21:35:21.860 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : Matching patterns for request [/video/1/video/1/data] are [/**]
2014-07-28 21:35:21.860 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : URI Template variables for request [/video/1/video/1/data] are {}
2014-07-28 21:35:21.861 DEBUG 16681 --- [nio-8080-exec-2] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapping [/video/1/video/1/data] to HandlerExecutionChain with handler [org.springframework.web.servlet.resource.ResourceHttpRequestHandler@2492eec9] and 1 interceptor
I'm not pretty sure whether is a bug in the test case or in my implementation; I'm supposing that some part of code is re-appending the POST URL at the end; also I've reviewed and debugged my code in order to determine if I'm appending the URL or not, and I've noticed that my code isn't doing that.
Can somebody confirm this behaviour?
The text was updated successfully, but these errors were encountered: