Variable not showing up Java Servlets : <p>I tried to make a simple Java Servlet app, that displays the date and time.
The problem is: it won't show up when I load the page(the page itself does show up). I have debugged it, and the date and time does show up in the console.</p>

<p>TestServlet.java(not the whole file):</p>

<pre><code>protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    DateFormat format = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
    Date timeDate = new Date();
    @SuppressWarnings("unused")
    String time = format.format(timeDate);


    request.getRequestDispatcher("/WEB-INF/test.jsp").forward(request, response);

}
</code></pre>

<p>test.jsp(whole file):</p>

<pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%&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=UTF-8"&gt;
        &lt;title&gt;Insert title here&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Welcome! It is ${time}!&lt;/h1&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>All help is welcome ;)</p>
