title: How can I call setParameter in a request object?
body: <p>This is probably due to my misunderstanding and incomplete information of JSP and JSTL. I have a web page where I have input elements such as </p>
  
  <pre><code>&lt;input name="elementID" value="${param.elementID}"/&gt;
  </code></pre>
  
  <p>When I am trying to save the form, I check for that elementID and other elements to conform to certain constraints "numeric, less than XXX". I show an error message if they don't. All the parameters are saved and user does not need to type it again after fixing the error.</p>
  
  <p>After saved, when I am redirecting to the same page for the object to be edited,  I am looking a way to set the parameter like <code>request.setParameter("elementID",..)</code> Is there a way to do this ? However the only thing I can find is <code>request.setAttribute</code>.</p>