int day = Integer.parseInt(request.getParameter(\"day\")); // 25 int month = Integer.parseInt(request.getParameter(\"month\")); // 12 int year = Integer.parseInt(re
See JavaDoc:
month - the value used to set the MONTH calendar field. Month value is 0-based. e.g., 0 for January.
So, the month you set is the first month of next year.