MakeFileSeq.jsp 1.1 KB

1
  1. <%@ page import="core.db.DbFunc" %> <%@ page import="core.rls.DbRlser" %> <%@ page import="core.db.DbConnB" %> <%@ page import="ss.db.DbC" %> <%@ page import="java.sql.SQLException" %> <%@ page import="core.db.TableRunB" %> <%@ page import="org.apache.commons.lang3.StringUtils" %> <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <HEAD> <title>MakeFileSeq</title></head> <body> <% String ipStr = request.getParameter("ip"); if (StringUtils.isBlank(ipStr)) { out.println("指定IP:ip=10.0.3.107"); return; } String pwdStr = request.getParameter("pwd"); if (StringUtils.isBlank(pwdStr)) { out.println("指定PWD:pwd=???"); return; } DbConnB info = new DbConnB(ipStr, 1521, "free", "C##DC", pwdStr, DbC.DB_oracleType); try (DbFunc dbFunc = DbFunc.newDbFunc(info, null)) { // null = RmtConn。Lin DbRlser dbRlser = new DbRlser(null, null); dbRlser.makeFileSeq(dbFunc); } catch (SQLException | CloneNotSupportedException e) { throw new RuntimeException(e); } /// %> 建 文件序列号 SUCCEED!! </body> </html>