| ||||||||||||
%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" %> <%@ include file="Connections/con_ro_mnsl.jsp" %> <%! public String DoDateTime(java.lang.Object aObject,int nNamedFormat,java.util.Locale aLocale) throws Exception{ if ((aObject != null) && (aObject instanceof java.util.Date)){ if (aLocale!=null){ java.text.DateFormat df = java.text.DateFormat.getDateInstance(nNamedFormat,aLocale); return df.format(aObject); } else{ java.text.DateFormat df = java.text.DateFormat.getDateInstance(nNamedFormat); return df.format(aObject); } } return ""; } %> <% String country="$$"; String port="$$"; Driver Driverrc = (Driver)Class.forName(MM_con_ro_mnsl_DRIVER).newInstance(); Connection Connrc = DriverManager.getConnection(MM_con_ro_mnsl_STRING,MM_con_ro_mnsl_USERNAME,MM_con_ro_mnsl_PASSWORD); PreparedStatement Statementrc = Connrc.prepareStatement("SELECT * FROM dbo.view_flag where st='A'order by fg",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); Statementrc.setFetchSize(0); Statementrc.setQueryTimeout(0); ResultSet rc = Statementrc.executeQuery(); boolean rc_isEmpty = !rc.next(); boolean rc_hasData = !rc_isEmpty; Object rc_data; int rc_numRows = 0; %> <% String rp__MMColParam = "%"; if (request.getParameter("cntry") !=null) {rp__MMColParam = delim((String)request.getParameter("cntry"));} %> <% Driver Driverrp = (Driver)Class.forName(MM_con_ro_mnsl_DRIVER).newInstance(); Connection Connrp = DriverManager.getConnection(MM_con_ro_mnsl_STRING,MM_con_ro_mnsl_USERNAME,MM_con_ro_mnsl_PASSWORD); PreparedStatement Statementrp = Connrp.prepareStatement("SELECT * FROM dbo.view_agents WHERE fid LIKE '" + rp__MMColParam + "' AND zz=1 order by fg,pnm,nm",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); Statementrp.setFetchSize(0); Statementrp.setQueryTimeout(0); ResultSet rp = Statementrp.executeQuery(); boolean rp_isEmpty = !rp.next(); boolean rp_hasData = !rp_isEmpty; Object rp_data; int rp_numRows = 0; %> <% int Repeat1__numRows = -1; int Repeat1__index = 0; rp_numRows += Repeat1__numRows; %>
![]()
<%@include file="footer.jsp"%>
|
|||||||||||||||