타일즈 설정 제거
parent
7d3a93b21e
commit
a4233ea1da
@ -1,132 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0" />
|
||||
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
|
||||
<property name="contentType" value="application/json;charset=UTF-8"/>
|
||||
</bean>
|
||||
|
||||
|
||||
<!-- 화면처리용 JSP 파일명의 prefix, suffix 처리에 대한 mvc 설정 -->
|
||||
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="0"
|
||||
p:viewClass="org.springframework.web.servlet.view.tiles3.TilesView"
|
||||
/>
|
||||
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="3"
|
||||
p:viewClass="org.springframework.web.servlet.view.JstlView"
|
||||
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"/>
|
||||
|
||||
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">
|
||||
<property name="definitions">
|
||||
<list>
|
||||
<value>classpath:/template/tiles/layout-tiles-defs.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="preparerFactoryClass" value="org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory"/>
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
<bean id="contentNegotiatingViewResolver" class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
|
||||
<property name="order" value="0" />
|
||||
<property name="contentNegotiationManager">
|
||||
<bean class="org.springframework.web.accept.ContentNegotiationManager">
|
||||
<constructor-arg>
|
||||
<bean class="org.springframework.web.accept.PathExtensionContentNegotiationStrategy">
|
||||
<constructor-arg>
|
||||
<map>
|
||||
<entry key="html" value="text/html"/>
|
||||
<entry key="pdf" value="application/pdf"/>
|
||||
<entry key="xsl" value="application/vnd.ms-excel"/>
|
||||
<entry key="xml" value="application/xml"/>
|
||||
<entry key="json" value="application/json"/>
|
||||
<entry key="atom" value="application/xml"/>
|
||||
</map>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="mappingJackson2JsonView"
|
||||
class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"
|
||||
p:extractValueFromSingleKeyModel="true"/>
|
||||
|
||||
|
||||
<!-- Ajax 호출(JSON Response Tyep)에 대한 예외 처리 담당. -->
|
||||
<bean class="cokr.xit.fims.framework.support.exception.resolver.AjaxExceptionViewResolver">
|
||||
<property name="order" value="1"/>
|
||||
<property name="view">
|
||||
<bean class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"/>
|
||||
</property>
|
||||
</bean>
|
||||
<!-- 일반 view 호출에 대한 예외 처리 담당. -->
|
||||
<bean class="cokr.xit.fims.framework.support.exception.resolver.NormalExceptionViewResolver" p:order="2"/>
|
||||
|
||||
<!--
|
||||
<bean id="marshallingView" class="org.springframework.web.servlet.view.xml.MarshallingView">
|
||||
<constructor-arg>
|
||||
<bean class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
|
||||
<property name="classesToBeBound">
|
||||
<list>
|
||||
<value>framework.xit.cmmn.resolver.vo.Result</value>
|
||||
<value>framework.xit.cmmn.resolver.vo.DataVO</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="marshallerProperties">
|
||||
<map>
|
||||
<entry>
|
||||
<key>
|
||||
<util:constant static-field="javax.xml.bind.Marshaller.JAXB_FORMATTED_OUTPUT" />
|
||||
</key>
|
||||
<value type="java.lang.Boolean">false</value>
|
||||
</entry>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver"
|
||||
p:contentType="text/html; charset=UTF-8"
|
||||
p:cache="false"
|
||||
p:prefix=""
|
||||
p:suffix=".ftl"
|
||||
p:order="3"
|
||||
p:exposeSpringMacroHelpers="true"/>
|
||||
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
|
||||
<property name="templateLoaderPath" value="/WEB-INF/ftl/" />
|
||||
<property name="defaultEncoding" value="UTF-8"/>
|
||||
<property name="freemarkerSettings">
|
||||
<map>
|
||||
<entry key="template_update_delay" value="60000"/>
|
||||
<entry key="auto_flush" value="false"/>
|
||||
<entry key="default_encoding" value="UTF-8"/>
|
||||
<entry key="whitespace_stripping" value="true"/>
|
||||
</map>
|
||||
</property>
|
||||
<property name="freemarkerVariables">
|
||||
<map>
|
||||
<entry key="xml_escape" value-ref="fmXmlEscape"/>
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="fmXmlEscape" class="freemarker.template.utility.XmlEscape"/>
|
||||
-->
|
||||
</beans>
|
@ -1,213 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE tiles-definitions PUBLIC
|
||||
"-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
|
||||
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
|
||||
<tiles-definitions>
|
||||
<definition name="main" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-root.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
<definition name="dashboard" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-dashboard.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
<!-- ******************************* -->
|
||||
<!-- tiles "biz" View Page 설정 -->
|
||||
<!-- ******************************* -->
|
||||
<definition name="biz" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-inner.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
|
||||
<definition name="popup" template="/WEB-INF/jsp/template/fims/tiles/popup/layout-tiles-popup.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
<definition name="biz-pop" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-pop.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
<definition name="none" template="/WEB-INF/jsp/template/fims/tiles/none/layout-tiles-none.jsp">
|
||||
<put-attribute name="content" value="" />
|
||||
</definition>
|
||||
|
||||
|
||||
<!-- ******************************* -->
|
||||
<!-- tiles "none" View Page 설정 -->
|
||||
<!-- ******************************* -->
|
||||
|
||||
<definition name="*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.none" extends="none">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
<!-- ******************************* -->
|
||||
<!-- tiles "popup" View Page 설정 -->
|
||||
<!-- ******************************* -->
|
||||
<definition name="*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.popup" extends="popup">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
<definition name="*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.fims-pop" extends="biz-pop">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
|
||||
<!-- ******************************* -->
|
||||
<!-- tiles "main" View Page 설정 -->
|
||||
<!-- ******************************* -->
|
||||
<definition name="*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.main" extends="main">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
<definition name="*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.dashboard" extends="dashboard">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
<!-- ******************************* -->
|
||||
<!-- tiles DEFAULT(기본) View Page 설정 -->
|
||||
<!-- ******************************* -->
|
||||
<definition name="*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
<definition name="*/*/*/*/*/*/*.biz" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
|
||||
</definition>
|
||||
|
||||
<definition name="framework/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="framework/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="framework/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="framework/*/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="framework/*/*/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
|
||||
<definition name="fims/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}.jsp" />
|
||||
</definition>
|
||||
<definition name="fims/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}.jsp" />
|
||||
</definition>
|
||||
<definition name="fims/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}.jsp" />
|
||||
</definition>
|
||||
<definition name="fims/*/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}/{5}.jsp" />
|
||||
</definition>
|
||||
<definition name="fims/*/*/*/*/*/*" extends="biz">
|
||||
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
|
||||
</definition>
|
||||
|
||||
</tiles-definitions>
|
@ -1,5 +1,5 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE html>
|
@ -1,5 +1,5 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE html>
|
@ -1,5 +1,5 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE html>
|
@ -1,5 +1,5 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
|
@ -1,5 +1,5 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE html>
|
@ -1,4 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
|
||||
<t:insertAttribute name="content"/>
|
||||
|
Loading…
Reference in New Issue