JSTL3 [JSTL] if조건 삼항연산자로 간단히 쓰기 자꾸 까먹음. ${(empty result.companyNm)?dataMap.loginCompanyNm:result.cCompanyNm } 2023. 11. 30. [Spring] Selectbox 자유롭게 쓰기 출처 https://stackoverflow.com/questions/7143738/is-it-possible-to-use-multiple-params-in-the-itemlabel-of-a-formselect-formopt Is it possible to use multiple params in the itemLabel of a form:select/form:option I'm using Spring. I've got a JSP with a form:select in it displaying the list of users. In this situation the username or id won't mean much to the user so I need to show firstname lastnam.. 2020. 7. 29. [JSP] JSTL 화면에서 코드에 따라 VALUE다르게 ${typeId=='3003' ? '기업회원' : typeId=='3003' ? '개인회원' : '상담사' } 2017. 10. 12. 이전 1 다음