Commit Graph

457 Commits

Author SHA1 Message Date
Chris Beams e820dda201 Clarify ServletException is thrown when no view is resolved (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3530 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:07 +00:00
Jeremy Grelle 66fc997f5d SPR-7116 - javadocs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3518 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-02 22:37:14 +00:00
Jeremy Grelle c7f1a2fd76 SPR-7116 - Simplified (removed gzip and white-listing) and completed XML namespace config.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3516 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-31 01:09:40 +00:00
Jeremy Grelle 9406f95807 SPR-7116 further work in progress. Added white-listing by media type, checking MIME type from the ServletContext, and some additional validations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3512 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 00:01:13 +00:00
Jeremy Grelle 5e2f7c9c6f SPR-7116 work in progress. ResourceHttpRequestHandler is now functionally equivalent to the Spring JS ResourceServlet, with the exception of the resource concatenation feature (which will be deferred for reconsideration in 3.1).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3510 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-27 04:45:43 +00:00
Juergen Hoeller db2a10a1eb avoid double ConversionFailedException nesting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3505 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:33:34 +00:00
Arjen Poutsma df00d608e2 SPR-7381 - HTTP headers returned as part of ResponseEntity(MultiValueMap<String, String> headers, HttpStatus statusCode) are ignored when using this constructor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3488 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 13:47:19 +00:00
Arjen Poutsma 5592c72b25 SPR-7345 - HTTP 405 (Method not supported) returned when 404 Status (Not Found) was expected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3487 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 10:06:19 +00:00
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 c04668931d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3481 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:54:37 +00:00
Juergen Hoeller 37bc8cf630 MVC HandlerExceptionResolvers prevent caching for exception views if preventResponseCaching=true (SPR-7334)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3480 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:54:05 +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
Juergen Hoeller 5fd165b4ec polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3476 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:45:52 +00:00
Arjen Poutsma 8be57a72a0 SPR-7316 - remove "Accept-Charset" header from response, generated by @ResponseBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3456 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-24 09:15:50 +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
Juergen Hoeller 3f8fc50b0f @CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3436 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:21:00 +00:00
Juergen Hoeller a139f3b337 DispatcherServlet applies view name translation to error views as well (SPR-7298)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3433 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:06:56 +00:00
Juergen Hoeller 7e1acbd1be mvc:annotation-driven reliably detects JSR-303 and JAXB2 in an OSGi environment as well (SPR-7291)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3432 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:55:21 +00:00
Juergen Hoeller c5dcc2c88c @MVC handler methods reliably resolve MultipartRequest arguments with HiddenHttpMethodFilter (SPR-7296)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3431 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:45:42 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Juergen Hoeller a56df735de set Tiles 2.2 ELAttributeEvaluator on RendererFactory as well (SPR-7251)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3411 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 22:13:31 +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 91f14c1fe9 reuse a shared UrlPathHelper instance in order to avoid reinstantiation overhead (SPR-7269)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3403 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 14:14:08 +00:00
Juergen Hoeller 1706a733f4 added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3396 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:59:48 +00:00
Juergen Hoeller 9380113ec0 JSP HiddenInputTag allows for using common HTML attributes (SPR-7249)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3386 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 20:32:52 +00:00
Juergen Hoeller db8f711c56 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3385 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 19:23:08 +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
Arjen Poutsma 882f8cfce5 SPR-7233 - ResponseEntity having body, headers and HttpStatus mixed up in responseEntity.getBody()
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3376 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-28 08:07:21 +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
Luke Taylor dbecde0bd1 Rolled-back accidental .classpath changes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3335 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 16:23:48 +00:00
Luke Taylor ed0eecff4b Added DomUtils.getChildElements() method. Also refactored ConfigBeanDefinitionParser.parse() to use it.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3334 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 16:07:39 +00:00
Juergen Hoeller 8e49cfbc35 JSP Radiobutton/CheckboxesTag utilizes PropertyEditor/ConversionService for label rendering (SPR-7174)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3331 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-13 23:07:11 +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 5f41a9efaa TilesConfigurer's "definitionsFactoryClass" property applies common Tiles DefinitionsFactory setup (SPR-7101)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3296 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-23 10:44:29 +00:00
Juergen Hoeller a4958f593e factored out getRequestDispatcher template method (SPR-7118)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3294 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-22 21:46:56 +00:00
Juergen Hoeller 3d823ad811 fixed JSP SelectTag's support for rendering enum constants (SPR-7112)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3279 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 16:15:23 +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
Juergen Hoeller c6ce541d29 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3248 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 14:57:08 +00:00
Juergen Hoeller 3b9b08759f EvalTag skips implicit variable check if VariableResolver is null (for Jetty compatibility; SPR-7096)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3247 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 14:56:37 +00:00
David Syer faa0f29f0f Update version in POMs to 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +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 84f9329c3f SPR-7070 - MappingJacksonJsonView.renderedAttributes to be made visible to subclasses
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3232 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-07 08:30:04 +00:00
Arjen Poutsma 82889dcdb5 SPR-7063 - MappingJacksonHttpMessageConverter breaks with Jackson 1.0.x
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3227 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-06 11:39:50 +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