Commit Graph
226 Commits
Author SHA1 Message Date
Arjen Poutsma 4852217b79 SPR-7346 - @RequestHeader negation expressions (e.g. !Accept=text/plain) are not applied
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3484 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-15 08:49:18 +00:00
Juergen Hoeller 6b55137d3e JSP EvalTag resolves "@myBeanName" references in expressions against the WebApplicationContext (SPR-7312); for consistency, expressions in an ApplicationContext support the same syntax against the local BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3479 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:36:26 +00:00
Keith Donald f586cec9c3 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3443 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:36:45 +00:00
Keith Donald 407b1bb354 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3442 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:26:03 +00:00
Arjen Poutsma 675067544a SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3406 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 10:37:17 +00:00
Juergen Hoeller 8e090e5fc4 fixed JSP ErrorsTag to avoid invalid "*.errors" id, using form object name as id prefix instead (SPR-7258)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3384 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 19:22:53 +00:00
Arjen Poutsma e294752987 SPR-7259 - ResponseStatus.reason() ignored for @ExceptionHandler methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3381 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 13:33:43 +00:00
Juergen Hoeller de0d62ce93 added convenient "checkRefresh" bean property to TilesConfigurer (SPR-7225)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3357 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 16:49:53 +00:00
Juergen Hoeller 220d5a0e15 MockHttpServletResponse supports multiple includes (SPR-7188)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3324 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-12 14:07:25 +00:00
Arjen Poutsma dbe18ddfe0 SPR-7117 - Add ability for CNVR to search view names that use file extensions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3304 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-29 11:06:31 +00:00
Arjen Poutsma 1b40c30d46 SPR-7145 - NullPointerException in AnnotationMethodHandlerAdapter if HttpHeaders in ResponseEntity are empty
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3302 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-29 08:04:36 +00:00
Juergen Hoeller 359680a2df remove trailing servlet path slash on WebSphere only (SPR-7064)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3275 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 11:43:20 +00:00
Juergen Hoeller 21be98a8b5 fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3264 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 18:48:24 +00:00
Juergen Hoeller b2f470b6f9 fixed canRead breakage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3249 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 16:13:50 +00:00
Arjen Poutsma 8879140e4a SPR-7081 - Add ignoreJafMediaTypes to ContentNegotiatingViewResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3239 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-13 08:37:59 +00:00
Arjen Poutsma 3b6c2c0012 SPR-7060 - @ResponseStatus: The reason value is not used.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3222 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-02 08:39:26 +00:00
Arjen Poutsma b77698ec67 Introduced ResponseEntity, for access to the response status code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3210 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:08:51 +00:00
Juergen Hoeller b9bc32b103 UrlPathHelper cuts off trailing servlet-path slashes for root mappings (on WebSphere; SPR-7052)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3205 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-31 14:02:27 +00:00
Arjen Poutsma 16078ccec9 SPR-7047 - XML MarshallingView assumes non-null value for object to be marshalled.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3187 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 08:34:29 +00:00
Juergen Hoeller b61dd8b434 refined use of generics
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3186 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-29 23:08:32 +00:00
Arjen Poutsma 50a9c059a2 SPR-7000 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3174 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 12:29:52 +00:00
Juergen Hoeller d434a950ba fixed collection element conversion using ConversionService (SPR-6950)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3173 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 11:53:41 +00:00
Arjen Poutsma 78f69618f5 SPR-7031 - MappingJacksonJsonView should add headers for no-caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3169 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 10:14:11 +00:00
Arjen Poutsma da62a2f3df SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3140 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 09:50:47 +00:00
Arjen Poutsma abd1deb383 Revert: SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3139 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 08:52:59 +00:00
Arjen Poutsma 55c74841f2 SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3130 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:31:27 +00:00
Arjen Poutsma 2c3fd51243 SPR-6978 - Dispatcher fails to invoke handler method when request method conflicts with request path
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3126 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:12:32 +00:00
Arjen Poutsma d2983d90b7 SPR-7018 - Support for HttpEntity<?> in @MVC
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3119 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 10:23:39 +00:00
Arjen Poutsma cd5f2d1b3a SPR-6973 - SimpleUrlHandlerMapping wildcards cannot handle escaped newline characters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3094 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 16:56:16 +00:00
Scott Andrews 2c045db14d SPR-6923 SpEL resolving nested property as outer object
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3079 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 17:44:14 +00:00
Arjen Poutsma 2415c5b288 Fixing build.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3077 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 14:03:56 +00:00
Arjen Poutsma 7c1d69c8e8 SPR-6906 - Combination of ControllerClassNameHandlerMapping and @RequestMappings with file extensions results in exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3069 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-09 10:29:01 +00:00
Arjen Poutsma 117cfeff3d SPR-6906 - Combination of ControllerClassNameHandlerMapping and @RequestMappings with file extensions results in exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3055 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 15:17:09 +00:00
Arjen Poutsma 76fd93bc3b SPR-6934 - AnnotationMethodHandlerAdapter should take into account request accept header ordering
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3052 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 13:54:24 +00:00
Arjen Poutsma ad6e7e4895 SPR-6935 - @ResponseBody with method that return void throws "Could not resolve view exception".
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3047 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 10:51:27 +00:00
Juergen Hoeller 3e8a6d480a WebApplicationObjectSupport's initServletContext will be called only once in any scenario (SPR-6914)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3046 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-03 16:26:47 +00:00
Arjen Poutsma 22a2d53f80 SPR-6877 - AnnotationMethodHandlerAdapter.handleResponseBody prioritizes messageConverter over MediaType
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3045 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-03 11:14:30 +00:00
Arjen Poutsma 6248566c2d SPR-6902 - @ResponseBody does not work with @ExceptionHandler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3044 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-03 10:33:58 +00:00
Arjen Poutsma a9d3022867 SPR-6877 - AnnotationMethodHandlerAdapter.handleResponseBody prioritizes messageConverter over MediaType
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3043 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-03 10:18:59 +00:00
Arjen Poutsma 3d8639913e SPR-6876 - RequestMethod does not appear to factor into @RequestMapping uniqueness in some cases
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3038 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-02 09:52:43 +00:00
Juergen Hoeller 94ff6e5fac fixed @RequestParam(required=false) regression for @InitBinder methods (SPR-6878)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3019 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-20 16:14:14 +00:00
Juergen Hoeller 9687dd4620 fixed indexed property regression (SPR-6871)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3018 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-20 15:53:09 +00:00
Juergen Hoeller 8d3a92f811 DefaultRequestToViewNameTranslator strips trailing slashes as well (SPR-6830)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3005 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-18 10:47:22 +00:00
Juergen Hoeller 0b81a067d4 fixed regression: method-level patterns without type-level pattern do not need to start with a slash (SPR-6598)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3000 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-17 23:26:06 +00:00
Juergen Hoeller 93e6f9b3f9 only activate EL support if JSP ExpressionFactory actually available (SPR-6852)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2996 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-17 21:54:21 +00:00
Juergen Hoeller e5972f8b29 revised EvalTag implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2992 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-16 18:16:47 +00:00
Juergen Hoeller 113c3bdc72 fixed interaction with ControllerClassNameHandlerMapping (as reported by Rossen)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2986 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 18:27:30 +00:00
Juergen Hoeller c7f36455d3 store a static WebApplicationContext reference if the Spring jars get deployed in the same web application as the ContextLoader (SPR-5652)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2985 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 18:02:19 +00:00
Juergen Hoeller c8103fc175 avoid rendering invalid ids (SPR-6840)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2980 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 13:45:47 +00:00
Juergen Hoeller c31ad7f14b @RequestParam/RequestHeader/CookieValue's defaultValue allows for declaring empty String (SPR-6791)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2977 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 12:10:55 +00:00