Using an if-else Ladder
<%
String month = "January";
if(month == "January")
out.println("It\'s January.");
else if (month == "February")
out.println("It\'s February.");
else if (month == "March")
out.println("It\'s March.");
else if (month == "April")
out.println("It\'s April.");
else if (month == "May")
out.println("It\'s May.");
else if (month == "June")
out.println("It\'s June.");
else if (month == "July")
out.println("It\'s July.");
else if (month == "August")
out.println("It\'s August.");
else if (month == "September")
out.println("It\'s September.");
else if (month == "October")
out.println("It\'s October.");
else if (month == "November")
out.println("It\'s November.");
else if (month == "December")
out.println("It\'s December.");
%>