title: jsp print variable inside of <jsp:attribute>
body: <p>How can I print a HTTP Request parameter inside of a <code>&lt;jsp:body&gt;</code>?</p>
  
  <p>The following doesn't work.</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
  &lt;%@taglib prefix="t" tagdir="/WEB-INF/tags" %&gt;
  &lt;t:basePage&gt;
     &lt;jsp:attribute name="title"&gt;Reset Password&lt;/jsp:attribute&gt;
     &lt;jsp:attribute name="lib"&gt;lib/&lt;/jsp:attribute&gt;
     &lt;jsp:attribute name="bodyClass"&gt;loginPage&lt;/jsp:attribute&gt;
     &lt;jsp:body&gt;
        &lt;%= request.getParameter("msg"); %&gt;
     &lt;/jsp:body&gt;
  &lt;/t:basePage&gt;
  </code></pre>
  
  <p>I get this error: 
  <code>HTTP Status 500 - /message.jsp (line: 39, column: 22) Scripting elements ( &amp;lt;%!, &amp;lt;jsp:declaration, &amp;lt;%=, &amp;lt;jsp:expression, &amp;lt;%, &amp;lt;jsp:scriptlet ) are disallowed here.</code></p>