%-- /******************************************************************** * * PROJECT : ElixirCMS * MODULE NAME : COMMON * FILENAME : login.jsp * AUTHOR : VINAY CEREJO * VERSION : 1.0 * CREATION DATE : 12/25/2002 * COMPANY : * COPYRIGHT : COPYRIGHT (C) 2000. * * MODIFICATION HISTORY:- *-------------------------------------------------------------------------------- * DATE BY REASON *-------------------------------------------------------------------------------- * 21/01/2003 Heena Jain Changed the look and feel of the Page * 30/01/2003 Heena Jain Commented the code in init which displays the user name * and the password as default * 01/02/2003 Heena Jain Added the if caluse for Exception, in order to avoid the display * of null on the screen. * 13/02/2003 SandeepBangera Added the japanese images and jap text * 13/11/2005 Pramod K. Added CommonMessages.js and removed the user/pwd default values * 18/05/2006 Tanmay Pru Base Code merging * Label used:-cms_pbs_vtn(1.3.0)_cor_cod-merge * 13/06/2006 Subhajit To get the User ID & Password from workflow. * Label used:-cms_sgn_wf_user_pass * 09/07/2008 avala sridhar reddy page has been modified for look and feel as per the user requested * 01/07/2012 Manoj Punde ManojP#1:Changes done for Re-Branding *-------------------------------------------------------------------------------- * *********************************************************************/ --%> <%@ page contentType="text/html; charset=Shift_JIS" import="java.util.*,com.mastek.eElixir.common.util.*" %> <%@ page import="com.mastek.eElixir.common.util.ClientMessage"%> <%@ page import="com.mastek.eElixir.channelmanagement.common.util.CHMEElixirUtils"%> <%-- /* start cms_pbs_vtn(1.3.0)_cor_cod-merge */ --%> <%@ taglib uri="/WEB-INF/tld/MessageTag.tld" prefix="info" %> <%-- /* start cms_pbs_vtn(1.3.0)_cor_cod-merge */ --%> <%--/*cms_sgn_wf_user_pass -- Start */ --%> <%@ page import="com.mastek.eElixir.channelmanagement.util.DataConstants"%> <%@ page import="com.mastek.eElixir.channelmanagement.util.BusinessParam"%> <%@ page import="com.mastek.eElixir.channelmanagement.util.BusinessParamCache"%> <%--/*cms_sgn_wf_user_pass -- End */ --%> <% String EXCEPTION = null; String EELIXIR_HOME = application.getServletContextName(); /* start cms_pbs_vtn(1.3.0)_cor_cod-merge */ String strWorkflow = request.getParameter("strWorkflow"); String strUserID = request.getParameter("strUserID"); String strPassword = request.getParameter("strPassword"); if( strWorkflow == null || strWorkflow.equals("") ) { strWorkflow=""; } /* end cms_pbs_vtn(1.3.0)_cor_cod-merge */ /*cms_sgn_wf_user_pass -- Start */ BusinessParamCache oBusinessParamCache = null; BusinessParam oBusinessParam = null; String strDelimiter = null; try { oBusinessParamCache = BusinessParamCache.getBusinessParamCache(); oBusinessParam = oBusinessParamCache.getBizParam(DataConstants.BUSS_PARAM_USER_PASS_DELIMITER,""); strDelimiter = oBusinessParam.getBizParamValue(); } catch(Exception e) { } if(strDelimiter==null || strDelimiter.equals("")) { strDelimiter = "="; } /*cms_sgn_wf_user_pass -- End */ //EXCEPTION = (String)request.getAttribute("EXCEPTION"); if(EXCEPTION == null) EXCEPTION=""; ClientMessage oClientMessage = null; oClientMessage = ClientMessage.getInstance(CHMEElixirUtils.getUserLocale(session)); String countryCode = ""; if (session != null) { session.invalidate(); } if (request.getLocale().toString().equalsIgnoreCase("ja")) { countryCode = "ja"; //oClientMessage = ClientMessage.getInstance(new Locale(countryCode,"")); } else { countryCode = "en"; //oClientMessage = ClientMessage.getInstance(new Locale(countryCode,"")); } %>