Removed outdated references to Servlet 2.3/2.4

(cherry picked from commit 673dac5)
This commit is contained in:
Juergen Hoeller
2015-03-24 21:21:18 +01:00
parent 209e8de188
commit c8cc8b7cbd
15 changed files with 76 additions and 51 deletions

View File

@@ -48,7 +48,7 @@ import org.springframework.web.method.HandlerMethod;
* in the application context, referenced by the mapping bean definition
* via its "interceptors" property (in XML: a <list> of <ref>).
*
* <p>HandlerInterceptor is basically similar to a Servlet 2.3 Filter, but in
* <p>HandlerInterceptor is basically similar to a Servlet Filter, but in
* contrast to the latter it just allows custom pre-processing with the option
* of prohibiting the execution of the handler itself, and custom post-processing.
* Filters are more powerful, for example they allow for exchanging the request

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -170,9 +170,9 @@ public abstract class AbstractTemplateView extends AbstractUrlBasedView {
/**
* Apply this view's content type as specified in the "contentType"
* bean property to the given response.
* <p>When running on Servlet 2.4, only applies the view's contentType
* if no content type has been set on the response before. This allows
* handlers to override the default content type beforehand.
* <p>Only applies the view's contentType if no content type has been
* set on the response before. This allows handlers to override the
* default content type beforehand.
* @param response current HTTP response
* @see #setContentType
*/