%@ page language="java"
session="false"
buffer="32kb"
autoFlush="true"
%>
<%@ page import = "com.webcashing.common.Index,com.webcashing.common.ApplyMacroDef,javax.servlet.http.Cookie,com.webpump.sdk.log.Log" %>
<%@ include file="jsp/pc/com/webcashing/google_inc.jsp"%>
<%
String[] strInfoArray = Index.setSessionAndCookieInfo(request,response);
//strInfoArray案内
//[0] UserAgent(広告種別)
//[1] 広告番号
//[2] 遷移先フラグ
//[3] セッションID
//1.ユーザエージェントフラグを取得する
//String strUserAgent = Index.getUserAgent(request);
String strUserAgent = strInfoArray[0];
//2.セッション情報をセットする
//String strSessionID = Index.setSessionAndCookieInfo(request,response,strUserAgent);
String strSessionID = strInfoArray[3];
Log.printDebugln("in ndex.jsp log strSessionID:" + strSessionID);
Log.printDebugln("in ndex.jsp log strBannerID:" + strInfoArray[1]);
// 追加 initscrid のケース 0911
//String strInitScrID = (String)request.getParameter("initscrid");
String strInitScrID = strInfoArray[2];
String strToTop = "ToTop";
String strFlag = strToTop;
Log.printDebugln("in index.jsp log strInitScrID:" + strInitScrID);
//3.接続キャリアによって、それぞれのTopページへ遷移する。
if(strUserAgent.equals(ApplyMacroDef.BANNER_KIND_1))
{
String strPgrpNo = "";
String[] strptnrCompNoProductNo = null;
Log.printDebugln("in index.jsp log -- is pc access ");
Cookie objDelSessionIDInCookie =new Cookie(Index.SESSION_ID_KEY_IN_COOKIE, null);
//Cookieを削除する
objDelSessionIDInCookie.setMaxAge(0);
response.addCookie(objDelSessionIDInCookie);
Cookie objSessionIDInCookie =new Cookie(Index.SESSION_ID_KEY_IN_COOKIE, strSessionID);
//Browserをクローズする場合、Cookieが無効になる
objSessionIDInCookie.setMaxAge(-1);
response.addCookie(objSessionIDInCookie);
Cookie objDelBannerIDInCookie =new Cookie(Index.BANNRE_ID_COOKIE_NAME, null);
//Cookieを削除する
objDelBannerIDInCookie.setMaxAge(0);
response.addCookie(objDelBannerIDInCookie);
Cookie objBannerIDInCookie =new Cookie(Index.BANNRE_ID_COOKIE_NAME, strInfoArray[1]);
//Browserをクローズする場合、Cookieが無効になる
objBannerIDInCookie.setMaxAge(-1);
response.addCookie(objBannerIDInCookie);
if( null != strInitScrID && strInitScrID.equals("001"))
{
String strUrl = "A00000S_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
//pgrpNoのセット
if( null==strPgrpNo || strPgrpNo.equals("") )
{
//pgrpNoを001がディロルト値とするセットする
strUrl = strUrl + "&pgrpNo=001";
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
else
{
//pgrpNoをIndex.javaにセッションにセットしました、A00000S画面にセッションから取得する
strUrl = strUrl;
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
}
else if( null != strInitScrID && strInitScrID.equals("015"))
{
String strUrl = "A02000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strPgrpNo = request.getParameter("pgrpNo");
strptnrCompNoProductNo = request.getParameterValues("ptnrCompNoProductNo");
String strQuery = request.getQueryString();
//pgrpNoとptnrCompNoProductNoのチェック
//pgrpNoをIndex.javaにセッションにセットしました、A00000S画面にセッションから取得する
if( strQuery.indexOf( "ptnrCompNoProductNo" ) >= 0 )
{
strFlag = "true";
strUrl = strUrl + "&pgrpNo=001";
request.getRequestDispatcher(strUrl).forward( request, response );
}
else
{
strUrl = "A00000S_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
//pgrpNoを001がディロルト値とするセットする
strUrl = strUrl + "&pgrpNo=001";
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
}
/*deleted by gaku 2006/03/31
else if( null != strInitScrID && strInitScrID.equals("022"))
{
String strUrl = "A02000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strPgrpNo = "009";
String strQuery = request.getQueryString();
strFlag = "true";
strUrl = strUrl + "&ptnrCompNoProductNo=001,0009";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
request.getRequestDispatcher(strUrl).forward( request, response );
}*/
else if( null != strInitScrID && strInitScrID.equals("002"))
{
//大口融資
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("003"))
{
//ビジネスローン
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("004"))
{
//学生向けローン
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("005"))
{
//オリエント信販
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("006"))
{
//キャッシング相談室
strFlag = "true";
String strUrl = "cashing_sodan.jsp?bannerno=" + strInfoArray[1];
request.getRequestDispatcher(strUrl).forward( request, response );
}
else if( null != strInitScrID && strInitScrID.equals("007"))
{
//トップページ
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("008"))
{
//キャッシング基礎知識
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("009"))
{
//キャッシング 借り方
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("010"))
{
//銀行・信販・消費者金融の違い
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("011"))
{
//お金のプロに聞け!FP相談室
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("012"))
{
//ヤミ金とは
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("013"))
{
//広告用語集
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("014"))
{
//キャンペーン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
/*deleted by gaku 2006/03/31
else if( null != strInitScrID && strInitScrID.equals("016"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("017"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("018"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("019"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("020"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("021"))
{
//ニッシン用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("023"))
{
//Smart1000_1用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
else if( null != strInitScrID && strInitScrID.equals("024"))
{
//Smart1000_2用
strFlag = "true";
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}*/
if(strFlag.equals(strToTop))
{
%>
<%@ page contentType="text/html;charset=euc-jp" %>
<%if ( (strInfoArray[1]!=null ) && isGoogle(strInfoArray[1]) ) {%>
<%}else{%>
<%}%>
<%
}
}
else
{
request.setAttribute("_PrePageHidden__DBSessionID", strSessionID);
String strPgrpNo = "";
String strproductNo = "";
String strptnrCompNo = "";
String strproductNum = "";
String strapplyReferUrl = "";
String strapplyBannerKind = strInfoArray[0];
String strapplyBannerNo = strInfoArray[1];
/*
if(strPgrpNo.equals("001"))
{
//ウェッブキャッシング50
strproductNum = "1";
}
else if(strPgrpNo.equals("002"))
{
//ワイド300
strproductNum = "2";
}
else if(strPgrpNo.equals("003"))
{
//ワイド500
strproductNum = "3";
}
else if(strPgrpNo.equals("007"))
{
//モビット
strproductNum = "4";
}
else if(strPgrpNo.equals("005"))
{
//商工ローン500
strproductNum = "5";
}
else if(strPgrpNo.equals("006"))
{
//ビジネスタイムリー
strproductNum = "6";
}
else if(strPgrpNo.equals("008"))
{
//スタート0
strproductNum = "7";
}
else if(strPgrpNo.equals("004"))
{
//スタート0
strproductNum = "8";
}
*/
if( null != strInitScrID && strInitScrID.equals("M02000D"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M02000D");
//パラメータのチェック
if( null !=strPgrpNo && !strPgrpNo.equals("") &&
null != strproductNo && !strproductNo.equals("")&&
null != strptnrCompNo && !strptnrCompNo.equals("")&&
null != strproductNum && !strproductNum.equals("")&&
//null != strapplyReferUrl && !strapplyReferUrl.equals("")&&
null != strapplyBannerKind && !strapplyBannerKind.equals("")&&
null != strapplyBannerNo && !strapplyBannerNo.equals("")
)
{
String strUrl = "mobile/M02000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strFlag = "true";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
strUrl = strUrl + "&applyBannerKind=" + strapplyBannerKind;
strUrl = strUrl + "&applyBannerNo=" + strapplyBannerNo;
strUrl = strUrl + "&applyReferUrl=" + strapplyReferUrl;
Log.printDebugln("in index.jsp log -- is mobit access and go to M02000D with url:" + strUrl);
request.getRequestDispatcher(strUrl).forward( request, response );
}
}
/*deleted by gaku 2006/03/31
else if( null != strInitScrID && strInitScrID.equals("M005"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M06000D");
//ワイド500
strproductNum = "3";
strPgrpNo = "003";
strproductNo = "0003";
strptnrCompNo = "001";
//パラメータのチェック
String strUrl = "mobile/M06000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strFlag = "true";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
Log.printDebugln("in index.jsp log -- is mobit access and go to M06000D with url:" + strUrl);
request.getRequestDispatcher(strUrl).forward( request, response );
}
else if( null != strInitScrID && strInitScrID.equals("M007"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M06000D");
//ワイド300
strproductNum = "2";
strPgrpNo = "002";
strproductNo = "0002";
strptnrCompNo = "001";
//パラメータのチェック
String strUrl = "mobile/M06000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strFlag = "true";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
Log.printDebugln("in index.jsp log -- is mobit access and go to M06000D with url:" + strUrl);
request.getRequestDispatcher(strUrl).forward( request, response );
}*/
else if( null != strInitScrID && strInitScrID.equals("M06010D"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M06010D");
//ワイド300
//strproductNum = "2";
//strPgrpNo = "002";
//strproductNo = "0002";
//strptnrCompNo = "001";
//パラメータのチェック
String strCase = "";
if( null != strPgrpNo && !strPgrpNo.equals("") &&
null != strproductNo && !strproductNo.equals("")&&
null != strptnrCompNo && !strptnrCompNo.equals("")&&
null != strproductNum && !strproductNum.equals(""))
{
String strUrl = "mobile/M06010D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
strUrl = strUrl + "&Case=2";
Log.printDebugln("in index.jsp log -- is mobit access and go to M06010D with url:" + strUrl);
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
}
/*deleted by gaku 2006/03/31
else if( null != strInitScrID && strInitScrID.equals("M009"))
{
Log.printDebugln("in index.jsp log -- is smart1000 access and go to M03000A");
strPgrpNo="009";
strproductNo="0009";
strptnrCompNo="001";
//パラメータのチェック
if( null !=strPgrpNo && !strPgrpNo.equals("") &&
null != strproductNo && !strproductNo.equals("")&&
null != strptnrCompNo && !strptnrCompNo.equals(""))
{
String strUrl = "mobile/M03000A_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
Log.printDebugln("in index.jsp log -- is smart1000 access and go to M03000A with url:" + strUrl);
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
}*/
else if( null != strInitScrID && strInitScrID.equals("M03000A"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M03000A");
//パラメータのチェック
if( null !=strPgrpNo && !strPgrpNo.equals("") &&
null != strproductNo && !strproductNo.equals("")&&
null != strptnrCompNo && !strptnrCompNo.equals(""))
{
String strUrl = "mobile/M03000A_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
Log.printDebugln("in index.jsp log -- is mobit access and go to M03000A with url:" + strUrl);
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
}
else if( null != strInitScrID && strInitScrID.equals("M001"))
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M01000M");
//ウェッブキャッシング50
strproductNum = "1";
//パラメータのチェック
Log.printDebugln("in index.jsp log -- is mobit access and after get value from request with getParameter:" + strapplyBannerNo);
if( //null !=strPgrpNo && !strPgrpNo.equals("") &&
//null != strproductNum && !strproductNum.equals("")&&
//null != strapplyReferUrl && !strapplyReferUrl.equals("")&&
null != strapplyBannerKind && !strapplyBannerKind.equals("")&&
null != strapplyBannerNo && !strapplyBannerNo.equals(""))
{
String strUrl = "mobile/M01000M_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strUrl = strUrl + "&productNum=" + strproductNum;
strUrl = strUrl + "&pgrpNo=001";
strUrl = strUrl + "&applyBannerKind=" + strapplyBannerKind;
strUrl = strUrl + "&applyBannerNo=" + strapplyBannerNo;
strUrl = strUrl + "&applyReferUrl=" + strapplyReferUrl;
Log.printDebugln("in index.jsp log -- is mobit access and go to M01000M with url:" + strUrl);
strFlag = "true";
request.getRequestDispatcher(strUrl).forward( request, response );
}
//Log.printErrorln("wjs index.jsp log -- is mobit access and go to M01000M , now is at end of M01000M");
}
//deleted by gaku 2006/03/30
//else if( null != strInitScrID && (strInitScrID.equals("M002") || strInitScrID.equals("M003") || strInitScrID.equals("M004") || strInitScrID.equals("M008") ))
else if( null != strInitScrID && strInitScrID.equals("M004") )
{
Log.printDebugln("in index.jsp log -- is mobit access and go to M05000D");
/*
if(strInitScrID.equals("M002"))
{
//ワイド300
strproductNum = "2";
strPgrpNo = "002";
strproductNo = "0002";
strptnrCompNo = "001";
}
else if(strInitScrID.equals("M003"))
{
//ワイド500
strproductNum = "3";
strPgrpNo = "003";
strproductNo = "0003";
strptnrCompNo = "001";
}*/
if(strInitScrID.equals("M004"))
{
//モビット
strproductNum = "4";
strPgrpNo = "007";
strproductNo = "0007";
strptnrCompNo = "009";
}
/*
else if(strInitScrID.equals("M008"))
{
//スマートセレクト1000
strproductNum = "9";
strPgrpNo = "009";
strproductNo = "0009";
strptnrCompNo = "001";
}*/
//パラメータのチェック
/* if( null != strapplyBannerKind && !strapplyBannerKind.equals("")&&
null != strapplyBannerNo && !strapplyBannerNo.equals("")
)
{ */
String strUrl = "mobile/M05000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strFlag = "true";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
strUrl = strUrl + "&applyBannerKind=" + strapplyBannerKind;
strUrl = strUrl + "&applyBannerNo=" + strapplyBannerNo;
strUrl = strUrl + "&applyReferUrl=" + strapplyReferUrl;
Log.printDebugln("in index.jsp log -- is mobit access and go to M05000D with url:" + strUrl);
String strUsrAgent = request.getHeader("user-agent");
if (strInitScrID.equals("M004")){
if( strUsrAgent.indexOf( "DoCoMo" ) >= 0 )
{
//ユーザエージェントがIMODEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/mobi_nonei.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "UP.Bro" ) >= 0 )
{
//ユーザエージェントがEZWEBの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/mobi_noneez.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "J-PHON" ) >= 0 )
{
//ユーザエージェントがJPHONEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/mobi_nonej.jsp").forward( request, response );
}
}else{
request.getRequestDispatcher(strUrl).forward( request, response ); }
// }
}
else if( null != strInitScrID && strInitScrID.equals("M006"))
{
Log.printDebugln("wjs index.jsp log -- is mobit access with InitScrID M006 and go to mobile/M00000D_Init.do");
strFlag = "true";
%>
<%
}
/*deleted by gaku 2006/03/31
else if( null != strInitScrID && strInitScrID.equals("M010"))
{
Log.printDebugln("to 50 to 500i ooguchi");
String strUsrAgent = request.getHeader("user-agent");
strFlag = "true";
if( strUsrAgent.indexOf( "DoCoMo" ) >= 0 )
{
//ユーザエージェントがIMODEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/50to500i.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "UP.Bro" ) >= 0 )
{
//ユーザエージェントがEZWEBの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/50to500ez.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "J-PHON" ) >= 0 )
{
//ユーザエージェントがJPHONEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/50to500j.jsp").forward( request, response );
}
}
else if( null != strInitScrID && strInitScrID.equals("M011"))
{
String strUrl = "mobile/M02000D_Init.do?_PrePageHidden__DBSessionID=" + strSessionID;
strFlag = "true";
strPgrpNo = "004";
strproductNo = "0004";
strptnrCompNo = "001";
strUrl = strUrl + "&pgrpNo=" + strPgrpNo;
strUrl = strUrl + "&productNo=" + strproductNo;
strUrl = strUrl + "&ptnrCompNo=" + strptnrCompNo;
strUrl = strUrl + "&productNum=" + strproductNum;
strUrl = strUrl + "&applyBannerKind=" + strapplyBannerKind;
strUrl = strUrl + "&applyBannerNo=" + strapplyBannerNo;
strUrl = strUrl + "&applyReferUrl=" + strapplyReferUrl;
Log.printDebugln("to M02000D_Init.do campus");
Log.printDebugln("strUrl: " + strUrl);
request.getRequestDispatcher(strUrl).forward( request, response );
}
else if( null != strInitScrID && strInitScrID.equals("M012"))
{
Log.printDebugln("to under1000 business");
String strUsrAgent = request.getHeader("user-agent");
strFlag = "true";
if( strUsrAgent.indexOf( "DoCoMo" ) >= 0 )
{
//ユーザエージェントがIMODEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/under1000i.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "UP.Bro" ) >= 0 )
{
//ユーザエージェントがEZWEBの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/under1000ez.jsp").forward( request, response );
}
else if( strUsrAgent.indexOf( "J-PHON" ) >= 0 )
{
//ユーザエージェントがJPHONEの場合
request.getRequestDispatcher("jsp/mobile/com/webcashing/under1000j.jsp").forward( request, response );
}
}*/
if(strFlag.equals(strToTop))
{
Log.printDebugln("wjs index.jsp log -- is mobit access no InitScrID is defined and go to mobile/M00000D_Init.do");
%>
<%
}
}
%>