Browse Source

polishing

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3026 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Juergen Hoeller 16 years ago
parent
commit
bf1bbbb685
  1. 8
      org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/view/DefaultRequestToViewNameTranslator.java

8
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/view/DefaultRequestToViewNameTranslator.java

@ -31,10 +31,10 @@ import org.springframework.web.util.UrlPathHelper;
* {@link org.springframework.web.servlet.DispatcherServlet} context. * {@link org.springframework.web.servlet.DispatcherServlet} context.
* Otherwise, a plain default instance will be used. * Otherwise, a plain default instance will be used.
* *
* <p>The default transformation simply strips the leading slash and file * <p>The default transformation simply strips leading and trailing slashes
* extension of the URI and returns the result as the view name with the * as well as the file extension of the URI, and returns the result as the
* configured {@link #setPrefix(String) "prefix"} and a * view name with the configured {@link #setPrefix "prefix"} and a
* {@link #setSuffix(String) "suffix"} added as appropriate. * {@link #setSuffix "suffix"} added as appropriate.
* *
* <p>The stripping of the leading slash and file extension can be disabled * <p>The stripping of the leading slash and file extension can be disabled
* using the {@link #setStripLeadingSlash "stripLeadingSlash"} and * using the {@link #setStripLeadingSlash "stripLeadingSlash"} and

Loading…
Cancel
Save