Commit Graph

140 Commits

Author SHA1 Message Date
Juergen Hoeller 6691cd09ec Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1171 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 14:22:03 +00:00
Juergen Hoeller 8a49660e47 replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1166 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:37:43 +00:00
Juergen Hoeller 11450f1fdb updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:43:15 +00:00
Arjen Poutsma 2b1d156acf SPR-5732 - When no type conversion strategy is found on a @Controller handler method bind target, a 500 error code should be returned not a 400.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1144 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 14:52:14 +00:00
Arjen Poutsma 3854aea64b SPR-4927 - Return 405 instead of 404 when HTTP method is not supported
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1142 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 13:32:28 +00:00
Arjen Poutsma 0650a6d471 SPR-5731 - @Controller method order effects @RequestMapping behavior in ways not expected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1141 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 10:34:56 +00:00
Arjen Poutsma e22f772c4c SPR-5726: Unexpected @RequestMapping semantics when class-level and method-level mappings used together
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1128 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 10:02:17 +00:00
Juergen Hoeller 1d1dba1693 Servlet/Portlet ApplicationContexts use a specific id based on servlet/portlet name; DefaultListableBeanFactory references are serializable now when initialized with an id; scoped proxies are serializable now, for web scopes as well as for singleton beans; injected request/session references are serializable proxies for the current request now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1127 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 22:29:55 +00:00
Juergen Hoeller c5521dfed7 added test for custom controller stereotype
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1104 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:37:43 +00:00
Arjen Poutsma 23b2eaa65d Moved DefaultHandlerExceptionResolver to fix a tangle.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1098 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 13:41:03 +00:00
Arjen Poutsma d10d95e98d SPR-5426 - Allow for custom processing or result objects returned from handler/controller methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1093 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 11:40:36 +00:00
Scott Andrews a7784bf36d updating Eclipse .classpath settings for Freemarker 2.3.15 upgrade
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1058 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-23 14:13:03 +00:00
Arjen Poutsma 9818f88199 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1049 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 12:57:30 +00:00
Arjen Poutsma a9747a6c70 Upgraded to Rome 1.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 11:44:59 +00:00
Arjen Poutsma c9794c0f02 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1044 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 22:16:32 +00:00
Arjen Poutsma f3fd3fa245 SPR-5690 - Request header filtering in @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1043 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 22:03:51 +00:00
Juergen Hoeller 0926cf79e6 revised WebApplicationContext lookup
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1032 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 22:28:31 +00:00
Juergen Hoeller b5e0328914 updated to FreeMarker 2.3.15 (SPR-4962)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1031 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 22:22:56 +00:00
Juergen Hoeller 17c423e2c4 exposed public getModel accessor (SPR-5686)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1028 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 19:51:25 +00:00
Arjen Poutsma 6f016dd18a SPR-5636 - @RequestMapping matching should be insensitive to trailing slashes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1018 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-17 09:41:04 +00:00
Arjen Poutsma 138e17d620 SPR-5631 - Implicit /** mapping on type-level @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1017 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-17 09:28:08 +00:00
Arjen Poutsma 6cafb84b9e Changed variable names from path to pattern
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1016 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-17 08:26:18 +00:00
Arjen Poutsma 16b6e94276 Increased debug level of mapping info
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1012 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-16 13:25:46 +00:00
Arjen Poutsma 77d364af60 Working on SPR-5631 - Implicit /** mapping on type-level @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1011 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-16 13:23:24 +00:00
Juergen Hoeller 02a1f98f57 fixed JasperReports exporter parameter initialization for multi-format views
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1006 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 23:18:57 +00:00
Juergen Hoeller 151a1a2a7b always use application ClassLoader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1004 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 22:30:24 +00:00
Mark Pollack 5f3ac321cb Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@959 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 14:38:35 +00:00
Mark Pollack 9feacc0375 Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@919 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 14:03:48 +00:00
Arjen Poutsma 60fe883ae3 Working on SPR-5631
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@910 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 21:07:46 +00:00
Arjen Poutsma 40733d1c5e Polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@908 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 13:31:51 +00:00
Juergen Hoeller b1fecb45e7 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@905 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:43:28 +00:00
Juergen Hoeller 792076ac78 request handler methods with @ModelAttribute annotation always return a model attribute (SPR-4867)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@902 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:34:42 +00:00
Arjen Poutsma 46d9409fe7 SPR-4677: Allow annotated methods on a Controller to be marked as exception handlers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@875 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 17:20:55 +00:00
Mark Pollack f17f9ef0f5 POM maintenance
Place parent pom in publicly accessible directory (org.sf.spring-parent).  
Create a component list pom in org.sf.spring-library.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@868 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-29 09:56:38 +00:00
Arjen Poutsma 33137847a3 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@865 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 21:20:18 +00:00
Arjen Poutsma 9988251912 SPR-5625 - Allow for exceptions to be annotated with a @ResponseStatus annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@864 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 11:19:45 +00:00
Arjen Poutsma 03a1aa5a97 Added tests for returned ModelAndView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@863 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 11:07:18 +00:00
Arjen Poutsma 454f2e18b2 SPR-5624 - A default HandlerExceptionResolver that resolves standard Spring exceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@860 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 19:53:42 +00:00
Juergen Hoeller 53243273a4 refined version ranges in OSGi manifests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:29:48 +00:00
Arjen Poutsma ed089bc2b8 Made looping over handlerExceptionResolvers more explicit.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@850 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 16:44:19 +00:00
Arjen Poutsma 76bcfb2310 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@849 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 16:26:31 +00:00
Arjen Poutsma 0d33ceec1b DispatcherServlet.processHandlerException checks whether the ModelAndView is empty before rendering it.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@847 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 15:41:03 +00:00
Juergen Hoeller 74c67dfaef FreeMarkerView and ResourceBundle/XmlViewResolver can be initialized with ServletContext only (e.g. for testing)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@828 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:52:28 +00:00
Scott Andrews 2d2924e8ce SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@825 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 04:37:26 +00:00
Arjen Poutsma 49e870246d SPR-5409 - Support for PUTting and POSTing non-form data
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@823 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 16:33:27 +00:00
Mark Pollack f39cb005f6 SPR-5385, SPR-5301 - initial pass completed of POMs for maven central repository upload. N.B. Can not build spring with these POMs.
Cleanup remains to meet maven central metadata requirements

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@816 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 08:06:34 +00:00
Arjen Poutsma 98daccc362 SPR-5537: ReSTful URLs with content type extension do not work properly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@812 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 17:36:18 +00:00
Juergen Hoeller c35b5f8ef2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@793 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:20:18 +00:00
Chris Beams 7f82764cb2 + Updated all projects to use the re-introduced org.springframework.asm instead of org.objectweb.asm (.java, template.mf, ivy.xml, and .classpath files have been updated)
+ Finished support for @Import, including detection of circular imports


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@775 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-21 19:00:57 +00:00
Arjen Poutsma 897c1b2976 Fixing Petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@697 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 14:32:51 +00:00