|
|
@ -5,7 +5,7 @@ import ${basePackage}.frame.base.BaseResponse;
|
|
|
|
import ${basePackage}.frame.base.ErrorType;
|
|
|
|
import ${basePackage}.frame.base.ErrorType;
|
|
|
|
import ${basePackage}.frame.base.Screen;
|
|
|
|
import ${basePackage}.frame.base.Screen;
|
|
|
|
import ${basePackage}.frame.utils.LocalData;
|
|
|
|
import ${basePackage}.frame.utils.LocalData;
|
|
|
|
import ${basePackage}.config.BeanDefinitionRegistryConfig;
|
|
|
|
import ${basePackage}.config.ActionConfig;
|
|
|
|
import org.springframework.beans.BeansException;
|
|
|
|
import org.springframework.beans.BeansException;
|
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
|
import org.springframework.boot.web.servlet.error.ErrorController;
|
|
|
|
import org.springframework.boot.web.servlet.error.ErrorController;
|
|
|
@ -119,7 +119,7 @@ public class GlobalController implements ErrorController {
|
|
|
|
Screen screenExec = null;
|
|
|
|
Screen screenExec = null;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
servletPath = servletPath.replaceAll("/", ".").toLowerCase();
|
|
|
|
servletPath = servletPath.replaceAll("/", ".").toLowerCase();
|
|
|
|
screenExec = LocalData.getApplicationContext().getBean(BeanDefinitionRegistryConfig.SCREEN_PREFIX + servletPath, Screen.class);
|
|
|
|
screenExec = LocalData.getApplicationContext().getBean(ActionConfig.SCREEN_PREFIX + servletPath, Screen.class);
|
|
|
|
screenExec.exec(model, request, response);
|
|
|
|
screenExec.exec(model, request, response);
|
|
|
|
} catch (BeansException e) {
|
|
|
|
} catch (BeansException e) {
|
|
|
|
|
|
|
|
|
|
|
|