| | |
| | | package com.fzzy.d7; |
| | | |
| | | import com.bstek.dorado.web.servlet.DoradoServlet; |
| | | |
| | | import org.springframework.boot.web.servlet.ServletRegistrationBean; |
| | | import org.springframework.context.annotation.Bean; |
| | | |
| | | /** |
| | |
| | | //@Configuration |
| | | public class DoradoConfigure { |
| | | |
| | | /* @SuppressWarnings({ "rawtypes", "unchecked" }) |
| | | @SuppressWarnings({ "rawtypes", "unchecked" }) |
| | | @Bean |
| | | public ServletRegistrationBean doradoServlet() { |
| | | ServletRegistrationBean servlet = new ServletRegistrationBean(new DoradoServlet()); |
| | |
| | | servlet.addUrlMappings("*.dpkg"); |
| | | servlet.addUrlMappings("/dorado/*"); |
| | | return servlet; |
| | | }*/ |
| | | } |
| | | |
| | | } |