ASF Bugzilla – Attachment 33302 Details for
Bug 58657
Spring DeferredResult errorResult response not returned in async servlet 3.1 mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Application config file for demo
AppConfiguration.java (text/plain), 1.05 KB, created by
Jonathan
on 2015-11-26 15:23:26 UTC
(
hide
)
Description:
Application config file for demo
Filename:
MIME Type:
Creator:
Jonathan
Created:
2015-11-26 15:23:26 UTC
Size:
1.05 KB
patch
obsolete
>package com.example; > >import org.springframework.boot.builder.SpringApplicationBuilder; >import org.springframework.boot.context.embedded.ServletRegistrationBean; >import org.springframework.boot.context.web.SpringBootServletInitializer; >import org.springframework.context.annotation.Bean; >import org.springframework.context.annotation.Configuration; >import org.springframework.web.servlet.DispatcherServlet; > >/** > * Created by jkee0001 on 24/11/2015. > */ >@Configuration >public class AppConfiguration extends SpringBootServletInitializer{ > > protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { > return builder.sources(DemoApplication.class); > } > > @Bean > public ServletRegistrationBean dispatcherServlet() { > ServletRegistrationBean registration = new ServletRegistrationBean( > new DispatcherServlet(), "/demo/*"); > registration.setAsyncSupported(true); > registration.addInitParameter("contextConfigLocation", "classpath:dispatcherServlet-servlet.xml"); > return registration; > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58657
:
33301
| 33302 |
33312