Arjen Poutsma
b81ede9f55
Fixing tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1249 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
16af500388
SPR-5766 - @ResponseBody
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1246 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Arjen Poutsma
60fe883ae3
Working on SPR-5631
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@910 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
40733d1c5e
Polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@908 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
b1fecb45e7
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@905 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Juergen Hoeller
c35b5f8ef2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@793 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
0680b65d22
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@696 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
a814fd082c
refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@676 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
e3f7a0d5f6
"url" macro in "spring.ftl" performs standard Servlet URL encoding automatically
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@653 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
14847cc662
Uncommented test case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@645 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
e19066141f
@RequestMapping type-level param constraints taken into account consistently
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@638 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
baa83177f9
optional boolean parameters in MVC handler methods resolve to "false" if not present
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@630 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
1f1968e93f
SPR-5452: Content negotiation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@602 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Scott Andrews
c28ee3cdf9
SPR-2733 Improvement for handling checkboxes in web forms (patch included)
...
Introduced default field prefix of '!', which can be overridden with WebDataBinder#setFieldDefaultPrefix. If a field is otherwise not present, the default value is used for the field. Field markers for the same field are ignored.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@576 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Scott Andrews
ba127b91f1
SPR-3389 Nicer handling of Java 5 enums by the Spring MVC form taglib.
...
The form:options and form:radiobuttons tags will now render a set of options automatically if the bind target is an Enum and items are not otherwise specified. The values of the enum are converted into form inputs where by default the form value is the enum's name() and the form label is the enum's toString().
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@575 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
5ba97a8b85
SPR-5367: PathVariable mappings are greedy over hard coded mappings
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@563 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
1d408b265f
introduced @CookieValue annotation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@560 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
e4f05f1ec2
consistent copies of mocks
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@559 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
81880e175a
consistent mock behavior
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@554 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
a82a616cd4
Added simple test for SPR-5365
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@541 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
8cc2c3941e
SPR-5380: MarshallingView should override AbstractView instead of AbstractUrlBasedView
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@535 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Arjen Poutsma
dece3d968e
OXM is nearing completion
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@531 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Chris Beams
e1965dea0f
eliminated svn:externals in favor of localized copies of shared artifacts
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@472 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Chris Beams
2796c55974
Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago