Newer
Older
jetty / src / main / webapp / searchresults.jsp
Mark George on 16 Aug 2021 632 bytes Recent update
<%@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>
         Sorry, no results were found for '<%=keywords%>'.  Try again.
         <br />
         <a href='search.jsp'>Back</a>
      </div>
   </body>
</html>