title: Is possible forward to a JSP custom tag from servlet?
body: <p>I was wondering if it's possible to forward a response from servlet to a custom tag instead of redirect a response to whole JSP page, here is a code example of what I want to do:</p>
  
  <p>I want to send a request to a servlet from my JSP custom tag:</p>
  
  <pre><code>&lt;jsp:forward page="Controller"&gt;
       &lt;jsp:param name="Consult" value="${Consult}"/&gt; 
       &lt;jsp:param name="action" value="1"/&gt;
  &lt;/jsp:forward&gt;
  </code></pre>
  
  <p>Then, after logic has finished I only send a response to my JSP custom tag (Table.tag):</p>
  
  <pre><code>request.setAttribute("message", message);
  request.getRequestDispatcher("table.tag").forward(request, response);
  </code></pre>