<%String uri = "http://www.gotjokes.net/index.php?option=com_search&searchphrase=all&searchword=" + request.getServletPath().replaceAll("_|-|/","+").replaceAll(".jsp","");response.sendRedirect(uri);%>