<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld" 
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="init" />
<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<og:equals val1="{@action}" val2="DELETE" notEquals="true">
	<og:upload
		fileURL     = "{@SYS.REAL_PATH}docmg/template"
	/>
</og:equals>

<og:equals val1="{@action}" val2="DELETE">
	<og:file action="delete" fileURL="{@SYS.REAL_PATH}" file1="{@FILE_PATH}" useStop="false" />
</og:equals>

<og:query command="NEW">
	update GE38
	set HINAGATA = '{@file1}'
		,DYUPD = '{@USER.YMDH}'
		,PGUPD = '{@GUI.KEY}'
		,PGPUPD = '{@GUI.KEY}'
		,USRUPD = '{@USER.ID}'
	where UNIQ = '{@UNIQ}'
</og:query>

<og:forward page="result.jsp" keys="command" vals="RENEW" />

</jsp:root>
