title: how to get context properties in velocity template
body: <p>I want to create a velocity template where I can get all context properties.
  I tried just $context.keys but it returns me this result:</p>
  
  <p>[text, VIEW_TOOLS_AVAILABLE, link, class, convert, esc, display, number, date, render, include, math, field, alternator, TOOLS_VERSION, GENERIC_TOOLS_AVAILABLE, sorter, context, loop, STRUTS_TOOLS_AVAILABLE, lists]</p>
  
  <p>Here is the class I am using to create the engine and adding values in context.</p>
  
  <pre><code>package mypackage;
  import java.io.StringWriter;
  import java.io.Writer;
  import org.apache.velocity.Template;
  import org.apache.velocity.VelocityContext;
  import org.apache.velocity.app.VelocityEngine;
  import org.apache.velocity.tools.ToolManager;
  
  public class VelocityTest {
  public static void main(String[] args) throws Exception {
      VelocityEngine ve = new VelocityEngine();
      ve.init();
      Template template = ve.getTemplate("Person.vtmpl");
      ToolManager velocityToolManager = new ToolManager();
      velocityToolManager.configure("tools.xml");
      VelocityContext ctx = new VelocityContext(velocityToolManager.createContext());
      ctx.put("FirstName", "John");
      ctx.put("LastName", "Doe");
      ctx.put("Age", 25);
      Writer writer = new StringWriter();
      template.merge(ctx, writer);
      System.out.println(writer);
    }
  }
  </code></pre>
  
  <p>Can someone help me to write a template which will get me the three values I add in my context.</p>
  
  <p>Content of tools.xml</p>
  
  <pre><code>&lt;tools&gt; 
  &lt;toolbox scope="application"&gt;
      &lt;tool class="org.apache.velocity.tools.generic.AlternatorTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.DisplayTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.MathTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.NumberTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.ComparisonDateTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.ClassTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.ConversionTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.EscapeTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.FieldTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.ListTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.ResourceTool"/&gt;
      &lt;tool class="org.apache.velocity.tools.generic.SortTool"/&gt;
  &lt;/toolbox&gt;
  &lt;/tools&gt;
  </code></pre>