I have a dropdown in my JSP page. Depending on the value selected from dropdown by the user i want to display a message. Message should be displayed when a button is clicked and also when the page reloads. How can i do this is jstl?

my dropdown in jsp:

<label for="States">Data Status:</label>
<form:select path="States">
<formption value="California" />
<formption value="New York" />
<formption value="Iowa" />

if i select New York then i want to display some message when i click a button on the page or when i navigate to this page from other hyperlink.