use of org.javasimon.console.SimonConsoleServlet in project springside4 by springside.
the class JavaSimonConfig method dispatcherRegistration.
// 定义Servlet URL Mapping
@Bean
public ServletRegistrationBean dispatcherRegistration() {
ServletRegistrationBean registration = new ServletRegistrationBean(new SimonConsoleServlet());
registration.addInitParameter("url-prefix", "/javasimon");
registration.addUrlMappings("/javasimon/*");
return registration;
}
Aggregations