<%@page language="java" import="com.handrock.cms.*,ca.nbcn.portal.device.*,ca.nbcn.portal.device.browser.*,ca.nbcn.portal.page.*,com.handrock.common.resource.ConstStringCategoryObject,com.handrock.common.cache.CacheObjectPool,ca.nbcn.portal.session.*,atg.servlet.DynamoHttpServletRequest,atg.servlet.DynamoHttpServletResponse,java.util.Hashtable,java.util.Enumeration" buffer="16k"%> <% java.sql.Connection localConnection=null; try { DynamoHttpServletRequest dynamoRequest = (DynamoHttpServletRequest) request; DynamoHttpServletResponse dynamoResponse = (DynamoHttpServletResponse) response; GlobalCls mGlobalCls = (GlobalCls) dynamoRequest.resolveName("/nbcn/cmst/GlobalCls"); mGlobalCls.setLocalSession(session); mGlobalCls.setLocalRequest(request); mGlobalCls.setLocalResponse(response); mGlobalCls.setPageConextInst(pageContext); String localVars[]={"csid","tlid","lidr","LanguageCode","ssid","sspath","repid","repfilter","reporder","session_url","isrefresh"}; String localQueryString=mGlobalCls.setStringValue(request.getQueryString(),""); String rID = mGlobalCls.setStringValue(request.getParameter(localVars[0]), "0"); atg.service.jdbc.MonitoredDataSource mMonitoredDataSourceInst=(atg.service.jdbc.MonitoredDataSource) request.resolveName ("/atg/dynamo/service/jdbc/CMSTDataSource"); boolean islog=(mGlobalCls.setIntValue(request.getParameter("islog"), 0)==1); localConnection=mMonitoredDataSourceInst.getConnection(); int tlID = mGlobalCls.setIntValue(request.getParameter(localVars[1]), 0); int rIDn = mGlobalCls.setIntValue(request.getParameter(localVars[0]+"_n"), 0); int isrefresh=StringMethod.setIntValue(request.getParameter(localVars[10]),0); int LanguageCode= mGlobalCls.setIntValue(request.getParameter("LanguageCode"), 0); int lidr=StringMethod.setIntValue(request.getParameter(localVars[2]),0); request.setParameter(localVars[2],"0"); String templateID = mGlobalCls.setStringValue(request.getParameter("templateid"), ""); String currDateTime = "timestapme"; session.setAttribute(localVars[3],String.valueOf(LanguageCode)); boolean isIncluded=false; if (!isIncluded) { java.util.Hashtable qsArray=com.handrock.common.util.StringAccessUtil.setValuePairsIntoDictionary(localQueryString,"&"); qsArray.remove(localVars[10]); qsArray.remove(localVars[2]); if (session.getAttribute(localVars[9])!=null && ((String)session.getAttribute(localVars[9])).equals(request.getQueryString())) isrefresh=1; if (request.getQueryString()!=null) session.setAttribute(localVars[9],request.getQueryString()); localQueryString=com.handrock.common.util.StringAccessUtil.getValuePairsFromDictionary(qsArray,"=","&"); String LOCAL_HOMENAVID="0"; int navID = mGlobalCls.setIntValue(request.getParameter("NAVID"), 0); mGlobalCls.setDBConnection(localConnection); mGlobalCls.getUserProfile().setDBConnection(localConnection); String appPath=null; String queryString=mGlobalCls.setStringValue(request.getParameter("queryText"),""); String requestQueryString=mGlobalCls.setStringValue(request.getQueryString(),""); if (mGlobalCls.getUserProfile().getUserProfileID()<=0 || mGlobalCls.getUserProfile().getStatus() == 0) { int userid =261259; String username = "guestforpublic"; mGlobalCls.getUserProfile().setUserProfileID(userid); mGlobalCls.getUserProfile().setLoginID(username); mGlobalCls.getUserProfile().setDomain(""); mGlobalCls.getUserProfile().initializeUserProfile(userid, "", ""); } } } catch(Exception e) { e.printStackTrace(); System.err.println("*******ERROR*****:"+e); } finally { if (localConnection!=null) { try{ localConnection.commit();}catch(Exception dbe1){} try{ localConnection.close(); } catch(Exception dbe){} } System.out.println(java.util.Calendar.getInstance().getTimeInMillis()); } %> NBCN - National Bank Correspondent Network

LOGO

Resources

Value and convenience for your clients


Choosing to transition your business to National Bank Correspondent Network will provide direct benefits to your clients.

Online Account Access


Clients have complete online access to their accounts, statements and tax documents. Watch a demo.

A Trusted and Recognized Brand


National Bank Correspondent Network is backed by the financial strength and ongoing support of National Bank of Canada. Learn more.

Resources for Accountholders

Your Relationship with National Bank Correspondent Network

Regulatory Information