Commit Graph
186 Commits
Author SHA1 Message Date
Arjen Poutsma 5ce8251b09 SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2900 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-02 13:14:19 +00:00
Arjen Poutsma bf3c057208 SPR-6785 - Improve message error when the MarshallingView modelKey attribute is not valid
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2893 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 15:25:29 +00:00
Arjen Poutsma 5746e04fa8 SPR-6649 - Request mapping incorrectly receiving all dispatches for a controller
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2863 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 10:47:36 +00:00
Juergen Hoeller 730a3ffaa6 only try to restore attribute if the value differs (ignoring Portlet spec attributes; SPR-6712)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2829 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 15:51:00 +00:00
Arjen Poutsma 995f5a73cb SPR-6467 - Allow ContentNegotiatingViewResolver to be strict ant return a 406 if no view found
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2816 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-15 16:37:58 +00:00
Arjen Poutsma c3ab0ef473 SPR-6686 - @ResponseBody throws HttpMediaTypeNotAcceptableException if client accepts "*/*"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2814 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-15 10:23:59 +00:00
Arjen Poutsma dd86a572bf SPR-6640 - PathVariable does not work properly after updated to 3.0 GA
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2796 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 11:27:43 +00:00
Juergen Hoeller 41e9b66cda revised JSP-based views to never fail when trying to setting forward attributes (SPR-6623)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2755 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:03:27 +00:00
Juergen Hoeller 6462b4d6ed refactored to pass along original ServletContext (for WebLogic and Resin JSP compatibility; SPR-6606)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2752 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 13:27:53 +00:00
Christian Dupuis f126255c18 STS-723: fixed ViewControllerBeanDefinitionParser to not rely on instance state for handler mapping and handler adapter bean names
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2699 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-22 16:52:33 +00:00
Juergen Hoeller 95d1eccd65 refined PropertyEditor exposure for the ConversionService case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2670 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:34:19 +00:00
Christian Dupuis 73f57c22ae some minor adjustments to the mvc namespace to make it work in the tools
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2632 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 23:03:49 +00:00
Juergen Hoeller 00dc3b04a1 reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2614 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 22:29:43 +00:00
Juergen Hoeller f83bd91ef3 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2588 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:43:16 +00:00
Juergen Hoeller 88667350e5 added order property to AnnotationMethodHandlerAdapter (SPR-6516)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2587 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:42:44 +00:00
Juergen Hoeller ba76059f1a polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2557 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 02:45:12 +00:00
Keith Donald 26a1bed4fd renamed path element to mapping per code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2551 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 16:32:59 +00:00
Arjen Poutsma a22ab375cc SPR-6375 - Register sensible default HTTP Message Converters based on what is available in the classpath
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2547 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:21:13 +00:00
Arjen Poutsma 33fa946d9b SPR-6470 - Make filterModel() in MappingJacksonJsonView more lenient
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2545 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 10:29:27 +00:00
Arjen Poutsma bc327a000e SPR-6466 - ContentNegotiatingViewResolver can not handle View implementations returning null as content type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2543 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 10:10:27 +00:00
Keith Donald d7906963a3 ability to have multiple path patterns per mapped interceptor definition
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2542 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 07:51:29 +00:00
Keith Donald 690e243482 added back mvc:interceptors element and added interceptor matching based on path pattern; needs review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 02:55:02 +00:00
Keith Donald 2ad909b9ba ordered sorting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2539 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-28 07:20:20 +00:00
Keith Donald 8551f0dcb0 added detectInterceptors compatibility check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2533 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 17:04:48 +00:00
Arjen Poutsma 08c639389b HttpMessageConverter.supports() is split into canRead/canWrite.
HttpMessageConverter.write() now allows for a specific content type.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2529 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 13:23:15 +00:00
Juergen Hoeller c02717aec6 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2525 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:49:18 +00:00
Sam Brannen fb9d18120c Fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2514 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 12:12:14 +00:00
Keith Donald 2440277399 SPR-6413 and SPR-6414 first cut: needs review, particularly compatibility note in AbstractHandlerMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2510 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 08:27:42 +00:00
Arjen Poutsma ca554d73d4 SPR-6378 - RC2: Issue with RequestMethod.GET differs from M2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2507 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 11:12:03 +00:00
Arjen Poutsma c2b7b406c4 SPR-6280 - PathVariable resolution does not work properly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2499 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 13:53:37 +00:00
Keith Donald d491dc760e used managed list to detect bean definitions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2489 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 17:26:07 +00:00
Keith Donald ef3cf61484 mvc namespace interceptors element--ignoring test case until issue with setting collection of bean definition property values is resolved
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2488 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 16:00:53 +00:00
Juergen Hoeller 73b9a5ef0e mvc:annotation-driven exposes default Validator and ConversionService as top-level beans (SPR-6377)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2464 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:34:24 +00:00
Juergen Hoeller 476dda519c fixed javadoc to reflect current implementation (SPR-6390)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2458 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 19:27:40 +00:00
Luke Taylor 88e59feb45 SPR-6087: Updated Javadoc for HandlerInterceptor to indicate invocation order of afterCompletion() methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2440 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-16 13:24:00 +00:00
Jeremy Grelle 056b91b09f Updated javadoc to reflect minimum JSP version 2.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2425 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:39:20 +00:00
Jeremy Grelle 1c1a094c47 Fixed javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2424 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:37:40 +00:00
Arjen Poutsma 2daf5635cb SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2423 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:27:54 +00:00
Keith Donald 7ce0d7841d results of code review of mvc namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2316 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 19:15:32 +00:00
Keith Donald b65ef01bf9 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2306 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 21:59:59 +00:00
Costin Leau 0f1f01b719 SPR-6102
+ add old method for backwards compatibility

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2301 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 19:11:41 +00:00
Costin Leau 83ce14dfaf SPR-6102
+ loosen FrameworkServlet#createWebApplicationContext signature

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2300 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 18:27:10 +00:00
Arjen Poutsma 437ec7d98d SPR-6291 - UrlPathHelper is too aggressive decoding URLs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2298 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 12:15:17 +00:00
Juergen Hoeller b128e3be2e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2288 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 01:30:50 +00:00
Juergen Hoeller 253e129859 TilesConfigurer only sets up EL support if JSP 2.1 is present (for JSP 2.0 compatibility; SPR-6309)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2286 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 01:16:40 +00:00
Juergen Hoeller e31b30a78b AbstractExcelView is compatible with Apache POI 3.0 as well as 3.5 now (SPR-6298)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2285 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 01:11:53 +00:00
Keith Donald e882d7216c default config for web binding initializer and formatting/conversion system w/ mvc namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2283 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 00:41:08 +00:00
Keith Donald bc54d99c21 mvc namespace installation of handler mapping and handler adapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2277 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 15:38:08 +00:00
Keith Donald 612b83b036 spring mvc namespace initial commit; work in progress
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2271 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 21:49:21 +00:00
Scott Andrews 361ff55f77 polish - removing unused import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2245 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 21:02:22 +00:00