Newer
Older
jetty / web / searchresults.jsp
Mark George on 28 Sep 2017 601 bytes Initial commit.
<%@page import="java.net.URL"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%
/*  Ths JSP is used to demonstrate XSS attacks */
   String keywords = request.getParameter("keywords");
%>
<html>
   <head>
      <title>Awesome Web Site - Search Results</title>
      <link rel="stylesheet" type="text/css" href="css/style.css"/>
   </head>
   <body>
      <div id="content">

         <%@include file="/WEB-INF/jspf/menu.jspf" %>

         <h1>Search results</h1>
         You searched for <%=keywords%>
         <br />
         <a href='search.jsp'>Back</a>
      </div>
   </body>
</html>