Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\metadatatransfer\build_db_description.jsp
<%@page session="true"%> <%@ page import="java.io.PrintWriter"%> <%@ page import="java.io.ByteArrayOutputStream" %> <%@ page import="com.edeal.frontline.FrontlineException"%> <%@ page import="com.edeal.frontline.navigation.*"%> <%@ page import="com.edeal.frontline.FlContext"%> <%@ page import="com.edeal.frontline.DataDictionary"%> <%@ page import="com.edeal.frontline.Utils"%> <%@ page import="com.edeal.frontline.FieldNotInitializedException"%> <%@ page import="com.edeal.frontline.MetaDataTransferBean"%> <%@page import="com.edeal.frontline.transfer.actions.RetrieveTransferSqlAction"%> <%@page import="org.apache.commons.lang.StringUtils"%> <%@page import="java.util.Date"%> <%@page import="org.apache.commons.lang.time.DateUtils"%> <%@page import="java.util.Calendar"%> <%@page import="java.text.SimpleDateFormat"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String output = (String)flRequest.getAttribute("buildDBDescription"); String defOutEnc = "UTF-8"; String fileName; String pattern = "dd-MM-yy"; SimpleDateFormat form = new SimpleDateFormat(pattern); fileName = "edealCRM_" + form.format(new Date()) + ".xml" ; response.setContentType("text/plain; filename=" + fileName + (defOutEnc != null ? "; charset=" + defOutEnc : "")); response.setHeader("Content-Disposition", "attachment; filename=" + fileName+";"); PrintWriter writer = response.getWriter(); writer.write(output); writer.flush(); writer.close(); %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de