title: Create MySQL Table in JSP
body: <p>Is there a way to create a MySQL table in JSP dynamically? Ideally it would be for use in a forum the user types the name of a thread and it would create a table with that name in the database.</p>
  
  <p>I'm thinking small for the time being though I can't see if it's actually do-able i've given it a go but it didn't work, in fairness I didn't expect it to.</p>
  
  <p>This is what I've tried,</p>
  
  <pre><code>&lt;sql:query var="dbData1"&gt;
      CREATE TABLE test (id int NOT NULL)
  &lt;/sql:query&gt;   
  </code></pre>