<jsp:directive.page pageEncoding="UTF-8" />
<!-- JSTLのCoreTAGを利用して文字列分解、ループを行います -->
<!-- CONTXT_PATHを利用して接続しに行きますが、**の場合は接続しません -->
<!-- 又、{@SYS.HOST_URL}とCONTXT_PATHが同じ場合も接続しません -->
<!-- 6.2.5.0 (2015/06/05) USE_REMOTE_RESOURCE_CLEAR 判定と REMOTE_USER_PASS 使用 -->
<og:equals val1="{@SYS.USE_REMOTE_RESOURCE_CLEAR}" val2="true" >
	<og:value command="SQL" action="ROW_APPEND" dbid="RESOURCE">
		SELECT  CONTXT_PATH
		FROM    GE12
		WHERE 	SYSTEM_ID	=	'{@MEM.SYSTEM_ID}'
		AND 	PARAM_ID	=	'HOST_NAME'
		AND 	FGJ			=	'1'
		AND		CONTXT_PATH	!=	'{@SYS.HOST_URL}'
		AND 	CONTXT_PATH	!=	'**'
	</og:value> 
	<c:forTokens items="${CONTXT_PATH}" delims="," var="SERVER_PORT" >
		<og:urlConnect
			url				= "http://{@SERVER_PORT}servlet/remoteControl"
			keys			= "class,command,lang"
			vals			= "ClearResource,{@remocommand},{@USER.LANG}"
			useSystemUser	= "false"
			authUserPass	= "{@SYS.REMOTE_USER_PASS}"
			postKey			= "CLM"
			method			= "POST"
			errNeglect		= "true"
			timeout			= "1"
		>
			<og:text value="{@CLM}" />
		</og:urlConnect>
	</c:forTokens>
</og:equals>
