<%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8" %> <%@ include file="/includes/tagLibs.jsp" %> <% boolean step2 = false; String action = "/index.jsp"; String compareURL = "http://www.whichcompare.co.uk"; String cat = request.getParameter("cat"); String catUrl = request.getParameter("catUrl"); String catName = ""; String paramName = ""; String selectCSSClass = " style='display:none'"; if(null != cat) { step2 = true; catName = cat.replaceAll("-"," "); paramName = " name='catUrl'"; } if(null != catUrl) { response.sendRedirect(compareURL + catUrl); return; } if(catName.equals("All")) { response.sendRedirect(compareURL); return; } %> Welcome to Which? <%@ include file="/includes/webSideStory.jsp" %>
No advertising, no bias, no hidden agenda

Welcome to Which?

Ready to buy?

Which? Compare: Up to date prices

><% if(step2) { %>
<% out.print(catName); %>
<% } else { %>
<% } %>
<% if(!step2) { %><% } %>
<% if(step2) { %> Reset <% } %>