title: How to create a drop down menu from an enum?
body: <p>How could I display the values of enum structure in JSP? I use the Spring MVC to implement my project. </p>
  
  <p>Many thanks!</p>
  
  <pre><code>public enum ProjectStatusEnum {
      INITIAL(0,"Initial"),ONGOING(1,"Ongoing"),CLOSED(2,"Closed");
  
      private int value;
      private String key;
  
      ProjectStatusEnum(int value , String key){
          this.value=value;
          this.key = key;
      }
      public int getValue() {
          return value;
      } 
      public void setValue(int value) {
          this.value = value;
      }  
      public String getKey() {
          return key;
      }
      public void setKey(String key) {
          this.key = key;
      }
  
  }
  </code></pre>