Commit Graph

78 Commits

Author SHA1 Message Date
Arjen Poutsma
752832a8da SPR-5731 - @Controller method order effects @RequestMapping behavior in ways not expected 2009-05-11 10:34:56 +00:00
Arjen Poutsma
4025df1ef8 SPR-5726: Unexpected @RequestMapping semantics when class-level and method-level mappings used together 2009-05-08 10:02:17 +00:00
Juergen Hoeller
266a65982d 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 2009-05-07 22:29:55 +00:00
Arjen Poutsma
9fe2b5d211 Moved DefaultHandlerExceptionResolver to fix a tangle. 2009-05-05 13:41:03 +00:00
Arjen Poutsma
0a0938fdd6 SPR-5426 - Allow for custom processing or result objects returned from handler/controller methods 2009-05-05 11:40:36 +00:00
Arjen Poutsma
6fbd198420 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created 2009-04-22 12:57:30 +00:00
Arjen Poutsma
dfa4b3e397 Javadoc 2009-04-21 22:16:32 +00:00
Arjen Poutsma
afa461892f SPR-5690 - Request header filtering in @RequestMapping 2009-04-21 22:03:51 +00:00
Juergen Hoeller
736169aa2a revised WebApplicationContext lookup 2009-04-19 22:28:31 +00:00
Juergen Hoeller
4cf573ba98 updated to FreeMarker 2.3.15 (SPR-4962) 2009-04-19 22:22:56 +00:00
Juergen Hoeller
c230c188be exposed public getModel accessor (SPR-5686) 2009-04-19 19:51:25 +00:00
Arjen Poutsma
c225b44f34 SPR-5636 - @RequestMapping matching should be insensitive to trailing slashes 2009-04-17 09:41:04 +00:00
Arjen Poutsma
acc84925d3 SPR-5631 - Implicit /** mapping on type-level @RequestMapping 2009-04-17 09:28:08 +00:00
Arjen Poutsma
02e96e01af Changed variable names from path to pattern 2009-04-17 08:26:18 +00:00
Arjen Poutsma
1c26d027a7 Increased debug level of mapping info 2009-04-16 13:25:46 +00:00
Arjen Poutsma
6121da988b Working on SPR-5631 - Implicit /** mapping on type-level @RequestMapping 2009-04-16 13:23:24 +00:00
Juergen Hoeller
d27cbee69c fixed JasperReports exporter parameter initialization for multi-format views 2009-04-15 23:18:57 +00:00
Juergen Hoeller
2798a8500c always use application ClassLoader 2009-04-15 22:30:24 +00:00
Juergen Hoeller
72cc060eaf request handler methods with @ModelAttribute annotation always return a model attribute (SPR-4867) 2009-03-31 20:34:42 +00:00
Arjen Poutsma
f09f4e8dd2 SPR-4677: Allow annotated methods on a Controller to be marked as exception handlers 2009-03-30 17:20:55 +00:00
Arjen Poutsma
5bcdf81656 Javadoc 2009-03-28 21:20:18 +00:00
Arjen Poutsma
04b3edca33 SPR-5625 - Allow for exceptions to be annotated with a @ResponseStatus annotation 2009-03-28 11:19:45 +00:00
Arjen Poutsma
161c926054 SPR-5624 - A default HandlerExceptionResolver that resolves standard Spring exceptions 2009-03-27 19:53:42 +00:00
Arjen Poutsma
ee0a294fe8 Made looping over handlerExceptionResolvers more explicit. 2009-03-27 16:44:19 +00:00
Arjen Poutsma
61b76b2adc Javadoc 2009-03-27 16:26:31 +00:00
Arjen Poutsma
f9541d1e28 DispatcherServlet.processHandlerException checks whether the ModelAndView is empty before rendering it. 2009-03-27 15:41:03 +00:00
Juergen Hoeller
88e336cf56 FreeMarkerView and ResourceBundle/XmlViewResolver can be initialized with ServletContext only (e.g. for testing) 2009-03-26 13:52:28 +00:00
Scott Andrews
99fa91d56e SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding 2009-03-26 04:37:26 +00:00
Arjen Poutsma
035eea01e8 SPR-5409 - Support for PUTting and POSTing non-form data 2009-03-25 16:33:27 +00:00
Arjen Poutsma
c1ea5a3ab8 Fixing Petclinic 2009-02-25 14:32:51 +00:00
Juergen Hoeller
160249c012 generified FactoryBeans and further Java 5 code style updates 2009-02-25 00:34:22 +00:00
Juergen Hoeller
c46b0ae271 polishing 2009-02-24 12:20:41 +00:00
Juergen Hoeller
760cab8fea refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client" 2009-02-24 11:46:00 +00:00
Juergen Hoeller
84ea67669a ModelAndView's "cleared" state gets preserved in case of plain model Map access 2009-02-20 11:48:26 +00:00
Juergen Hoeller
56bd995d9c "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically 2009-02-18 23:55:32 +00:00
Juergen Hoeller
d3d0111439 polishing 2009-02-18 23:51:03 +00:00
Juergen Hoeller
43caa57296 optimized OrderComparator usage 2009-02-17 18:19:57 +00:00
Juergen Hoeller
5a09a2d642 polishing 2009-02-16 01:43:49 +00:00
Juergen Hoeller
90b5c3a8dd @RequestMapping type-level param constraints taken into account consistently 2009-02-15 21:31:20 +00:00
Juergen Hoeller
6b2d4a81a0 optional boolean parameters in MVC handler methods resolve to "false" if not present 2009-02-13 11:46:55 +00:00
Arjen Poutsma
21a442b253 Solved concurrency issue 2009-02-09 22:10:47 +00:00
Juergen Hoeller
60392d6e74 ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface 2009-02-09 18:26:30 +00:00
Arjen Poutsma
df563dfcd6 SPR-5452: Content negotiation 2009-02-06 14:38:30 +00:00
Arjen Poutsma
ce83ebf0de Added link to Atom spec in javadoc 2009-02-06 08:18:37 +00:00
Scott Andrews
9335233618 javadoc polish 2009-01-23 15:18:25 +00:00
Scott Andrews
61b5428211 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.
2009-01-23 00:03:33 +00:00
Scott Andrews
8e261e5833 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().
2009-01-22 20:36:36 +00:00
Arjen Poutsma
c7d1d3ccb8 SPR-5367: PathVariable mappings are greedy over hard coded mappings 2009-01-21 17:45:42 +00:00
Juergen Hoeller
49ba677b64 introduced @CookieValue annotation 2009-01-20 18:32:24 +00:00
Juergen Hoeller
d950b56999 revised common handler method processing for Portlet 2.0 update 2009-01-19 23:34:41 +00:00