Java html中bodyonload()方法
后台:request.setAttribute("kotsukikanId", kotsukikanId);
request.setAttribute("isLinkFlg", isLinkFlg);
前台<body onload="showMsgOnSuccess('${isLinkFlg}','${kotsukikanId}')">
JS:
$(function() {
function showMsgOnSuccess(isLinkFlg,kotsukikanId) {
................
}
}