title: String value in Java 1.7 switch statement throwing an error?
body: <p>Any one knows what is this error saying:</p>
  <blockquote>
  <p>An error occurred at line: 388 in the jsp file: /historical_weather.jsp</p>
  <p>Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted</p>
  </blockquote>
  <p>I am using <code>Java 7.0</code>. Still I get this error.
  Thanks</p>