You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfiguration.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -302,8 +302,7 @@ public HandlerExceptionResolver handlerExceptionResolver() throws Exception {
Copy file name to clipboardExpand all lines: org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ public void setMessageConverters(List<HttpMessageConverter<?>> messageConverters
<para>If you use <classname>RedirectView</classname> and the view is
2168
2182
created by the controller itself, it is recommended that you configure
2169
2183
the redirect URL to be injected into the controller so that it is not
2170
2184
baked into the controller but configured in the context along with the
2171
-
view names. <!--I revised sentence because it sounds like something you need to do. Also reworded next heading to say what it's about. If not correct,--><!--reword.-->The
2172
-
next section discusses this process.</para>
2185
+
view names. The next section discusses this process.</para>
2173
2186
</section>
2174
2187
2175
2188
<sectionid="mvc-redirecting-redirect-prefix">
@@ -2194,13 +2207,10 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter {
2194
2207
<para>The net effect is the same as if the controller had returned a
2195
2208
<classname>RedirectView</classname>, but now the controller itself can
2196
2209
simply operate in terms of logical view names. A logical view name
2197
-
such as <literal>redirect:/my/response/controller.html</literal> will
2210
+
such as <literal>redirect:/myapp/some/resource</literal> will
2198
2211
redirect relative to the current servlet context, while a name such as
0 commit comments