title: JSTL/JSP dynamic form page state
body: <p>Working on a large Web app, I have houndresds of JSPs.
  Each JSP includes (ONLY) a set of internal tags, for instance:</p>
  
  <pre><code>&lt;AAA:INPUT value="bbb" state="&lt;%=getPageState()"/&gt;
  </code></pre>
  
  <p>This tag is rendered into an HTML input field, with a readonly/enabled state, based on the return value from getPageState().</p>
  
  <p>This basically allows me to set the complete page as enabled/disabled from a single entry point.</p>
  
  <p>I don't like this (mainly because it drives me away from writing the HTML I want and I need to maintain attributes for each HTML attribute I want), I know I can something similar on client side with JavaScript. 
  Are there other approachs to control the state of a complete JSP form in a single point on the web-server side?</p>