Newer
Older
jetty / web / search.jsp
Mark George on 28 Sep 2017 752 bytes Initial commit.
<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="css/style.css"/>        
		<title>Awesome Web Site - Product Search</title>
	</head>
	<body>

		<script>
			// explicitly add the cookie since JavaScript's can't read cookies set with HttpOnly
			document.cookie = "_JSESSIONID=<%=session.getId()%>";
		</script>

		<div id="content">

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

			<h1>Welcome to our awesome web site!</h1>

			<fieldset><legend>Search for a product</legend>
				<form action="searchresults.jsp" method="POST">
					<label>Key words <input type="text" name="keywords"></label>
					<input type="submit" value="Search">
				</form>
			</fieldset>

		</div>
	</body>
</html>