<%@ page import="java.lang.*" %> <%@ page import="java.net.*" %> <%@ page import="com.easyinsurance.common.DashBoard" %> <%@ page import="javax.servlet.RequestDispatcher" %> <% String text=""; try{ String rmhost= request.getRemoteHost(); String refname=request.getHeader("Referer"); String prod=request.getParameter("prod"); URL url=new URL(refname); String dname=url.getHost(); if(dname != null) dname=dname+" $-googleAds"; DashBoard dashobj=new DashBoard(); int kk=dashobj.getReferweb(rmhost,dname); if(prod.equals("travel")) response.sendRedirect("travelhome.do"); else if(prod.equals("health")) response.sendRedirect("healthHomeSearch.do"); else if(prod.equals("twowheeler")) response.sendRedirect("twowheelerSearch.do"); else if(prod.equals("car")) response.sendRedirect("motorHomeSearch.do"); else if(prod.equals("hom")) response.sendRedirect("searchhomeinsurance.do"); else if(prod.equals("lif")) response.sendRedirect("lifeHomeSearch.do"); else if(prod.equals("personal")) response.sendRedirect("personalAccidentInsurance.do"); }catch(Exception e){} %>