title: How to submit integer value starting with 0 from jsp page to servlet?
body: <p>I have a jsp registration form which contains Zip Code as one of its field which accepts 5 digits integer number as an input. But now problem is, if input contains digit '0' as starting digit then digit '0' will be ignored when form is submitted. I am getting only 4 digits in my servlet class.</p>
  
  <p>Example : If input is 02345</p>
  
  <pre><code>      I will get 2345 in my servlet, but expected value is 02345.
  </code></pre>