⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 export_2.jsp

📁 精通tomcat书籍原代码,希望大家共同学习
💻 JSP
字号:
<%
/*
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/security.tld" prefix="security" %>

<security:isNotRoleOf role="manager">
	<jsp:include page="pages/access_deny.jsp" flush="true"/>
</security:isNotRoleOf>
<security:isRoleOf role="manager">

<bean:parameter id="database" name="database" value=""/>
<bean:parameter id="driver" name="driver" value=""/>
<bean:parameter id="url" name="url" value=""/>
<bean:parameter id="username" name="username" value=""/>
<bean:parameter id="password" name="password" value=""/>

	<script language="javascript">
		document.title += ' [<bean:message key="ADMIN_DATA_MANAGER" bundle="html"/>]';
	</script>
	<jsp:include page="../mgr/admin_nav_bar.jsp" flush="true">
		<jsp:param name="sel" value="4"/>
	</jsp:include>

	<table border="0" cellspacing="4" cellpadding="4" width="100%">
	<tr>
	<td colspan=2>
	<table cellSpacing="1" cellPadding="2" width="100%" align="center" border="0">
	  <tr bgcolor='#A9C9F3'>
	    <th align=left><bean:message key="EXPORT_SELECT_DATA" bundle="html"/></th>
	  </tr>
	  <tr><td><logic:messagesPresent><font color=red><html:errors/></font></logic:messagesPresent><br/></td></tr>
	  <html:form action="/wizard/export">
  	  <input type="hidden" name="database" value="<bean:write name="database"/>"/>
  	  <input type="hidden" name="driver" value="<bean:write name="driver"/>"/>
  	  <input type="hidden" name="url" value="<bean:write name="url"/>"/>
  	  <input type="hidden" name="username" value="<bean:write name="username"/>"/>
  	  <input type="hidden" name="password" value="<bean:write name="password"/>"/>
	  <input type="hidden" name="eventSubmit_Export" value="1"/>
	  <tr>
	    <td><input type="checkbox" name="backupBlog" value="1" checked disabled/><bean:message key="EXPORT_BLOG" bundle="html"/></td>
	  </tr>
	  <tr>
	    <td><input type="checkbox" name="backupOther" value="1"/><bean:message key="EXPORT_OTHER" bundle="html"/></td>
	  </tr>	  
	  </html:form>
	  <tr><td colspan=2><br/></td></tr>
	</table><hr size=1 noshade color="#CCCCCC">
	</td>
	</tr>
	<tr>
  	<td align=left>
  		<form action="<html:rewrite page="/wizard/export_1.jspe"/>" method="post">
  			<input type="hidden" name="database" value="<bean:write name="database"/>"/>
  			<input type="hidden" name="driver" value="<bean:write name="driver"/>"/>
  			<input type="hidden" name="url" value="<bean:write name="url"/>"/>
  			<input type="hidden" name="username" value="<bean:write name="username"/>"/>
  			<input type="hidden" name="password" value="<bean:write name="password"/>"/>
  			<input class='button' type='submit' value='<< <bean:message key="LAST_STEP" bundle="html"/>'/>
  		</form>
  	</td>  	
  	<td align=right><input class='button' type='submit' value='<bean:message key="NEXT_STEP" bundle="html"/> >>' onclick="dbForm.submit();"/></td>
  	</tr>
  	</table>
</security:isRoleOf>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -