<?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="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF6280"
	title	= "直接ファイル出力"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:columnCheck
	command="{@command}"
/>

<og:directWriteTable
	dbid		= "{@DBID}"
	separator	= "{@separator}"
	useHeader	= "{@useHeader}"
	useNumber	= "{@useNumber}"
	useQuote	= "{@useQuote}"
	useQuoteEscape	= "{@useQuoteEscape}"
	useReturnQuote	= "{@useReturnQuote}"
	replaceFrom	= "{@replaceFrom}"
	replaceTo	= "{@replaceTo}"
	fileURL		= "{@USER.ID}"
	filename	= "{@filename}"
	encode		= "{@encode}"
	zip			= "{@zip}"
	zipFilename	= "{@zipFilename}"
	fileAppend	= "{@fileAppend}"
	fetchSize	= "{@fetchSize}"
	names		= "{@names}"
	queryType	= "{@queryType}"
	displayMsg	= "MSG0033"
	xssCheck	= "false"
	quotCheck	= "false"
>
	{@SQL}
</og:directWriteTable>

<og:link href="{@SYS.CONTEXT_URL}{@SYS.FILE_URL}{@USER.ID}/{@filename}" target="_blank" useGamenId="false" >
	<img src="{@SYS.JSP_IMG}/floppy.gif" alt="Excel Open" /><og:message lbl="MSG0056" />
</og:link>

<og:forward page="{@SYS.FILE_OUT_URL}{@USER.ID}/{@filename}" filename="{@filename}" />

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
