anchor.diff:  <t:header title="Product Order"/>
   	<%
   			String error = "" + request.getAttribute("error");
  -			if (error.equals("yes"))
  +			String action = "" + session.getAttribute("action");
  +			if (error.equals("yes") || ((action.equals("order")) == false && (action.equals("insert")) == false))
   			{
   				%>
   				<h1>Error: Request Is Invalid</h1>
  
positive.code: 						rs1 = pstmt1.executeQuery();
  			
  						//Prepared Statement 2: Show product information for product desired to add to cart
  						//Parameters: 1) Product SKU
  						pstmt2 = conn.prepareStatement("SELECT * from products WHERE products.product_id = ?");
  						pstmt2.setInt(1, Integer.parseInt(product));
  						rs2 = pstmt2.executeQuery();
  
negative.code: 							rs4.close();
  					}
  				}
  			}
  		%>
  		
  <t:footer />