<%@ page import="java.util.GregorianCalendar" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page contentType="text/html; charset=Shift_JIS" %> <% GregorianCalendar cal = new GregorianCalendar(); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); String calcDate = ""; try { calcDate = sdf.format(cal.getTime()); } catch (Exception e) { calcDate = "20040701"; } %> 必要保障額シミュレーション:日本生命保険相互会社