-
이벤트 작성시 제목+쿠폰번호 형식인데, 제목만 추출해서 jsp 페이지에 보여 주고 싶을 때! 쿠폰번호 자리수는 8자리로 고정되어 있다 태그 라이브러리 추가 후 ${fn:substring(boardTitle,0,length - 8)} ${fn:substring("문자열", 시작할 인덱스, 마지막 인덱스)} 를 사용하면 된다
onclick="address(1,${memberBean.u_name2 })" 와 같은 경우 ${memberBean.u_name2 } 가 문자열이면 값이 안넘어가진다 숫자인 경우 넘어가짐!! 이럴 때 ' ' 로 감싸주면 넘어가짐!!!onclick="address(1,'${memberBean.u_name2 }')"