title: spring mvc placeholder not print with <spring:input> tag
body: <p>I created a form with spring framework. For every field, I created a placeholder attribute. My problem is that for the input tag called 'streetNumber' in the address.jsp file, it doesn't print the value of the placeholder but the '0' value. </p>
  
  <p>Do you have any solutions ? </p>
  
  <p>Thank you</p>
  
  <p>Address.java : </p>
  
  <pre><code>public class Address {
      private String streetName;
      private int streetNumber;
      private String zipCode;
      private String city;
      private String country;
  
      public String getStreetName() {
           return streetName;
      }
      public void setStreetName(String streetName) {
           this.streetName = streetName;
      }
      public int getStreetNumber() {
           return streetNumber;
      }
      public void setStreetNumber(int streetNumber) {
           this.streetNumber = streetNumber;
      }
      public String getZipCode() {
           return zipCode;
      }
      public void setZipCode(String zipCode) {
           this.zipCode = zipCode;
      }
      public String getCity() {
           return city;
      }
      public void setCity(String city) {
           this.city = city;
      }
      public String getCountry() {
           return country;
      }
      public void setCountry(String country) {
           this.country = country;
      }
  }
  </code></pre>
  
  <p>AddressController.java : </p>
  
  <pre><code>@Controller
  public class AddressController {
  
      @RequestMapping(value="/address",method=RequestMethod.GET)
      public ModelAndView init(){
              ModelAndView modelAndView = new ModelAndView("address");
              modelAndView.addObject("address",new Address());
              return modelAndView;
      }
  
      @RequestMapping(value="/address",method=RequestMethod.POST)
      public ModelAndView validate(@ModelAttribute("address") Address address, BindingResult result){
  
                return new ModelAndView("address");
       }
  
  }
  </code></pre>
  
  <p>Address.jsp : </p>
  
  <pre><code>&lt;forms:form method="post" modelAttribute="address" action="/address"&gt;
        &lt;spring:message code="streetName" var="streetName" /&gt;
        &lt;forms:input path="streetName" id="streetName" placeholder="${streetName}" /&gt;
  
        &lt;spring:message code="streetNumber" var="streetNumber" /&gt;
        &lt;forms:input path="streetNumber" id="streetNumber" placeholder="${streetNumber}" /&gt;
  
        &lt;spring:message code="zipCode" var="zipCode" /&gt;
        &lt;forms:input path="zipCode" id="zipCode" placeholder="${zipCode}"/&gt;
  
        &lt;spring:message code="city" var="city" /&gt;
        &lt;forms:input path="city" id="city" placeholder="${city}" /&gt;
  
        //rest of the code
  
   &lt;/forms:form&gt;
  </code></pre>
  
  <p>MessageBundle.properties :</p>
  
  <pre><code>addressBtnText = Adress
  gpsBtnText = GPS
  homePageTitle = Geo Accessibility - HomePage
  streetName = Street
  streetNumber = NÂ°
  zipCode = Zip Code
  city = City
  selectCountry = Select a country
  adressValidateBtn = Confirm
  backButton = Back
  AccessibilityIndexTitle = Accessibility index
  graphicResult = Graphic Results
  completeResult = Complete Results
  typingAdressUrlTitle = GeoAccessibility - Type your address
  accessibilityResultUrlTitle = Accessibility Index
  mapTitle = GeoAccessibility - Graphic Results
  accessibilityResultTitle = "GeoAccessibility - Results"
  </code></pre>