<jsp:directive.page pageEncoding="UTF-8" />
<!-- JSTLのCoreTAGを利用して文字列分解、ループを行います -->
<!-- CONTXT_PATHを利用して接続しに行きますが、**の場合は接続しません -->
<!-- 又、{@SYS.HOST_URL}とCONTXT_PATHが同じ場合も接続しません -->
<og:equals val1 = "{@MEM.SYSTEM_ID}" nullCheck = "true" notEquals = "true">
	<og:value command = "SQL" action = "ROW_APPEND" dbid="RESOURCE">
		<og:text>
			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:text>
	</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	= "RMCN_USR:RMCN_PASS"
			postKey			= "CLM"
			method			= "POST"
			errNeglect		= "true"
		>
			<og:text value = "{@CLM}" />
		</og:urlConnect>
	</c:forTokens>
</og:equals>
