<?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" />
<jsp:directive.page errorPage="/jsp/common/error.jsp" />
<jsp:directive.page import="org.opengion.hayabusa.common.*,org.opengion.hayabusa.db.*" />
<og:head headType="init" />

<jsp:scriptlet>
	DBTableModel table = (DBTableModel)session.getAttribute( HybsSystem.TBL_MDL_KEY );
	String consisKey = (String)session.getAttribute( HybsSystem.TBL_MDL_CONKEY );
	if( table != null &amp;&amp; consisKey != null &amp;&amp; consisKey.equals( table.getConsistencyKey() ) ) {
		if( table.isOverflow() ) {
</jsp:scriptlet>
<og:query
	command      = "NEW"
	maxRowCount  = "0"
	quotCheck    = "false">
		{@USER.LASTSQL}
</og:query>
<jsp:scriptlet>
		}
</jsp:scriptlet>

<og:writeTable
	fileURL		= "{@USER.ID}"
	filename	= "{@filename}"
	columns		= "{@h_clms}"
	encode		= "{@SYS.FILE_ENCODE}"
/><og:forward page="{@SYS.FILE_OUT_URL}{@USER.ID}/{@filename}" filename="{@filename}" />
<jsp:scriptlet>
	}
	else {
</jsp:scriptlet>
<og:message msg="ERR0028" />
<jsp:scriptlet>
	}
</jsp:scriptlet>

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