title: html post automatically
body: <p>Here is my code:</p>
  
  <pre><code>&lt;%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%&gt;
  &lt;% 
  // some code
  %&gt;
  
  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
      &lt;title&gt;Temp &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form name="EventConfirmRedirection" method="post" action="event-buy-ticket.jsp"&gt;
      &lt;input type="hidden" value="&lt;%=seance_id%&gt;" id="seanceId" name="seanceId"&gt;&lt;/input&gt;
      &lt;input type="hidden" value="&lt;%=selected_seat_count%&gt;" id="urlField" name="seatCount"&gt;&lt;/input&gt;
      &lt;input type="hidden" value="&lt;%=seat[0]%&gt;" id="seatId1" name="seatId1"&gt;&lt;/input&gt;
      &lt;input type="hidden" value="&lt;%=ticket_cost[0]%&gt;" id="ticketCost1" name="ticketCost1"&gt;&lt;/input&gt;
  
      &lt;input type="submit" value="Go" &gt;
  &lt;/form&gt; 
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I can post the values to the next page. When I click "Go", it posts. That's OK. The problem is I don't want to use <code>&lt;input type="submit" value="Go"&gt;</code> or something like visible on the screen. I am trying to do this automatically. When this page come, then it should directly post "event-buy-ticket.jsp". </p>
  
  <p>Tried to do this with javascript but i couldn't. Maybe there is a simple way with HTML.</p>