Commit Graph
221 Commits
Author SHA1 Message Date
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
Scott Andrews 0dc2caccc6 SPR-6296 Spring:url tag should not use application/x-www-form-urlencoded encoding
Work around for application/x-www-form-urlencoded encoding.  Replaces '+' from java.net.URLDecoder with charset specific encoded space value ('%20' for most charsets).

The custom urlEncode method should be replaced with calls to a true URL encoder once available.


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2244 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 21:01:23 +00:00
David Syer 3dfa0fa3e9 SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2214 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-28 13:43:27 +00:00
Arjen Poutsma 75be13acc0 SPR-6248 - Accept header should not be mandatory for properly handling response body.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2188 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 10:50:45 +00:00
Juergen Hoeller af32913f07 revised version checks and exception signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2160 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 16:53:24 +00:00
Arjen Poutsma 3064522520 SPR-6214 - Using @ResponseBody throws HttpMediaTypeNotAcceptableException when it supports writing an acceptable MediaType
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2109 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 10:46:29 +00:00
Juergen Hoeller 4746682f7e fixed extraction of Controller suffix (SPR-6153)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2105 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 23:10:48 +00:00
Juergen Hoeller ef6ad7fd7d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2096 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:49:34 +00:00
Juergen Hoeller e2609c5962 fixed ContentNegotiatingViewResolver to work with the combination of ignoreAcceptHeader=true plus defaultContentType as well (SPR-6163)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2035 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 12:06:58 +00:00
Arjen Poutsma ea10c92462 SPR-6148 - @ResponseBody with returned String results in unresolvable view ServletException
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2011 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:34:54 +00:00
Arjen Poutsma d08309e04f SPR-6144 - @ResponseStatus annotation is ignored in an @Controller redirect (RedirectView)
SPR-5468 - Modify RedirectView to allow 301 Permanent Redirects

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2010 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:23:06 +00:00
Juergen Hoeller be8eceba2d resolve handler bean name early; validate header conditions as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2007 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 09:53:30 +00:00
Juergen Hoeller f24bfb2aef polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2006 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 09:45:10 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Arjen Poutsma f8124f45f1 SPR-6093 - MVC Annotation Inheritance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2004 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:45:58 +00:00
Arjen Poutsma dc9396315c SPR-5910 - Slight Improvement for Main JavaDoc in RedirectView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1982 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 08:31:33 +00:00