package com.jeeplus.ureport.config;

import com.bstek.ureport.console.UReportServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@ImportResource("classpath:context.xml")
@Configuration
public class ReportConfiguration {


    @Bean
    public ServletRegistrationBean <UReportServlet> servletRegistrationBean() {
        return new ServletRegistrationBean <> ( new UReportServlet ( ), "/ureport/*" );
    }

}
