1. 전체분,변경분 상태 테이블을 조회하는 메뉴 추가
2. HTTP요청시 헤더 정보를 출력하는 클래스 추가(테스트용) 3. 클라이언트 요청시 100초간 스레드를 정지하는 함수 추가(테스트용)main
parent
d781c7836a
commit
37f4c91a50
@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/cm/css/all.css" type="text/css"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:ev="http://www.w3.org/2001/xml-events"
|
||||
xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms">
|
||||
<head>
|
||||
<w2:type>DEFAULT</w2:type>
|
||||
<w2:buildDate/>
|
||||
<xf:model>
|
||||
<xf:instance>
|
||||
<data xmlns="" />
|
||||
</xf:instance>
|
||||
<w2:dataCollection baseNode="map">
|
||||
<w2:dataMap baseNode="map" id="statMap">
|
||||
<w2:keyInfo>
|
||||
</w2:keyInfo>
|
||||
</w2:dataMap>
|
||||
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
|
||||
<w2:columnInfo>
|
||||
<w2:column id="seqNo" name="일련번호" dataType="text"></w2:column>
|
||||
<w2:column id="exemptFlag" name="면제 플래그" dataType="text"></w2:column>
|
||||
<w2:column id="exemptSendtime" name="면제 최종송신시간" dataType="text"></w2:column>
|
||||
<w2:column id="rfidFlag" name="RFID 플래그" dataType="text"></w2:column>
|
||||
<w2:column id="rfidSendtime" name="RFID 최종송신시간" dataType="text"></w2:column>
|
||||
<w2:column id="prpFlag" name="사전결제등록 플래그" dataType="text"></w2:column>
|
||||
<w2:column id="prpSendtime" name="사전결제등록 최종송신시간" dataType="text"></w2:column>
|
||||
<w2:column id="prpChgTime" name="사전결제 변경분 비교시간" dataType="text"></w2:column>
|
||||
<w2:column id="blFlag" name="교통카드BL 플래그" dataType="text"></w2:column>
|
||||
<w2:column id="blSendtime" name="교통카드BL 최종송신시간" dataType="text"></w2:column>
|
||||
<w2:column id="redFlag" name="감면 플래그" dataType="text"></w2:column>
|
||||
<w2:column id="redSendtime" name="감면 최종송신시간" dataType="text"></w2:column>
|
||||
</w2:columnInfo>
|
||||
</w2:dataList>
|
||||
</w2:dataCollection>
|
||||
<w2:workflowCollection></w2:workflowCollection>
|
||||
<xf:submission id="sub_search"
|
||||
ref='data:json,{"id":"statMap","key":"param"}'
|
||||
target='data:json,{"id":"statList","key":"result"}'
|
||||
action="/cfs/standard/findMstChgFlagList.do" method="post" mediatype="application/json" encoding="UTF-8"
|
||||
instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="조회중입니다." ev:submit="" ev:submitdone=""
|
||||
ev:submiterror="" abortTrigger="">
|
||||
</xf:submission>
|
||||
</xf:model>
|
||||
<script type="text/javascript" lazy="false"><![CDATA[
|
||||
|
||||
scwin.onpageload = function() {
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
scwin.btn_search_onclick = function(e) {
|
||||
|
||||
com.executeSubmission(sub_search);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
]]></script>
|
||||
</head>
|
||||
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
||||
<xf:group class="contentWrap" id="" style="">
|
||||
<w2:wframe id="" initScript="scwin.wfTitleFavInit();" src="/cm/common/wf_titleFav.xml" style=""></w2:wframe>
|
||||
<xf:group class="tbl_search" id="grp_search" style="">
|
||||
<xf:group adaptive="layout" adaptiveThreshold="700" class="w2tb tbl_sc" id="" style="" tagname="table">
|
||||
<w2:attributes>
|
||||
<w2:summary></w2:summary>
|
||||
</w2:attributes>
|
||||
<xf:group tagname="colgroup">
|
||||
<xf:group style="width:70.00px;" tagname="col"></xf:group>
|
||||
<xf:group style="width:150.00px;" tagname="col"></xf:group>
|
||||
<xf:group style="width:190.00px;" tagname="col"></xf:group>
|
||||
<xf:group style="width:70.00px;" tagname="col"></xf:group>
|
||||
<xf:group style="width:270.00px;" tagname="col"></xf:group>
|
||||
<xf:group style="width:*;" tagname="col"></xf:group>
|
||||
</xf:group>
|
||||
<xf:group adaptive="" adaptiveThreshold="" style="" tagname="tr">
|
||||
<xf:group class="w2tb_th" style="" tagname="th"></xf:group>
|
||||
<xf:group class="w2tb_td" style="" tagname="td"></xf:group>
|
||||
<xf:group class="w2tb_th" style="" tagname="th"></xf:group>
|
||||
<xf:group class="w2tb_th" style="" tagname="th"></xf:group>
|
||||
<xf:group class="w2tb_td" style="" tagname="td"></xf:group>
|
||||
<xf:group class="w2tb_td" style="" tagname="td">
|
||||
<xf:group class="fr" id="">
|
||||
<xf:trigger class="btn_sh"
|
||||
ev:onclick="scwin.btn_search_onclick"
|
||||
id="btn_search" style="" type="button">
|
||||
<xf:label><![CDATA[조회]]></xf:label>
|
||||
</xf:trigger>
|
||||
</xf:group>
|
||||
</xf:group>
|
||||
</xf:group>
|
||||
</xf:group>
|
||||
</xf:group>
|
||||
<xf:group class="defaultbox" id="" style="">
|
||||
<w2:textbox class="df_tt" id="" label="전체분,변경분 상태" style="" tagname="h2"></w2:textbox>
|
||||
<xf:group class="fr" id="" style=""></xf:group>
|
||||
</xf:group>
|
||||
<w2:gridView autoFit="allColumn" autoFitMinWidth="600" class="cm_grid" dataList="data:statList" fixedColumnWithHidden="true"
|
||||
focusMode="row" id="grd_penaltyList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false" scrollByColumnAdaptive="false"
|
||||
style="height: 150px;" summaryAuto="false" useShiftKey="true" visibleRowNum="20" rowNumVisible="true" rowNumHeaderValue="순번" readOnly="true">
|
||||
<w2:header id="header1" style="">
|
||||
<w2:row id="row1" style="">
|
||||
<w2:column width="70" inputType="text" style="" id="column0" value="일련번호"
|
||||
blockSelect="false" displayMode="label">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column1" value="면제 플래그"
|
||||
blockSelect="false" displayMode="label">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column2" value="면제 최종송신시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column3" value="rfid 플래그"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column4" value="rfid 최종송신시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column5" value="사전결제등록 플래그"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column6" value="사전결제등록 최종송신시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column7" value="사전결제등록 변경분 비교시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column8" value="교통카드BL 플래그"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column10" value="교통카드BL 최종송신시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column11" value="감면 플래그"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="column12" value="감면 최종송신시간"
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
</w2:row>
|
||||
</w2:header>
|
||||
<w2:gBody id="gBody1" style="">
|
||||
<w2:row id="row2" style="">
|
||||
<w2:column width="70" inputType="text" style="height:25px;" id="seqNo"
|
||||
blockSelect="false" displayMode="label">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="height:25px;" id="exemptFlag"
|
||||
blockSelect="false" displayMode="label">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="exemptSendtime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="rfidFlag" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="rfidSendtime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="prpFlag" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="prpSendtime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="prpChgTime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="blFlag" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="blSendtime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="redFlag" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false">
|
||||
</w2:column>
|
||||
<w2:column width="70" inputType="text" style="" id="redSendtime" value=""
|
||||
blockSelect="false" displayMode="label" removeBorderStyle="false"
|
||||
displayFormat="yyyy/MM/dd HH:mm:ss" dataType="date">
|
||||
</w2:column>
|
||||
</w2:row>
|
||||
</w2:gBody>
|
||||
</w2:gridView>
|
||||
</xf:group>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,55 @@
|
||||
package cfs.trsmrcv.web;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class TrsmrcvUtil {
|
||||
|
||||
protected static Logger logger = LoggerFactory.getLogger(TrsmrcvUtil.class);
|
||||
|
||||
public static void printRequestInfo(HttpServletRequest pReq){
|
||||
printRequestURI(pReq);
|
||||
printRequestHeader(pReq);
|
||||
printRequestParam(pReq);
|
||||
|
||||
}
|
||||
|
||||
public static void printRequestURI(HttpServletRequest pReq) {
|
||||
|
||||
String uri = pReq.getRequestURI();
|
||||
String requestTime = (new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss")).format(new Date());
|
||||
|
||||
logger.info("#### RequestURL = " + uri);
|
||||
logger.info("#### RequestTime = " + requestTime);
|
||||
|
||||
}
|
||||
|
||||
public static void printRequestHeader(HttpServletRequest pReq) {
|
||||
|
||||
Enumeration<?> eHeader = pReq.getHeaderNames();
|
||||
while (eHeader.hasMoreElements()) {
|
||||
String hName = (String) eHeader.nextElement();
|
||||
String hValue = pReq.getHeader(hName);
|
||||
|
||||
logger.info("#### RequestHeader = " + hName + " : " + hValue);
|
||||
}
|
||||
}
|
||||
|
||||
public static void printRequestParam(HttpServletRequest pReq) {
|
||||
|
||||
Enumeration<?> eParam = pReq.getParameterNames();
|
||||
while (eParam.hasMoreElements()) {
|
||||
String pName = (String) eParam.nextElement();
|
||||
String pValue = pReq.getParameter(pName);
|
||||
|
||||
logger.info("#### RequestParamMap = " + pName + " : " + pValue);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue