Clean Code that Works.

이것때문에 하루 정도 끙끙...

collection형태를 jsp:include에서 jsp:param으로 넘길 때. 이놈이 toString()을 호출해서 스트링 형태로 변환 해서 넘겨 버린다고 한다. -ㅁ-;;

그래서 해결 책은

http://stackoverflow.com/questions/1254394/jstl-for-each-problem

여길 보고 와서

<%
   
List<LandingCategory> cats = beanFactory.getLandingCategories();
%>
<c:set var="cats" scope="request" value="
<%=cats%>"/>
<jsp:include page="/jsp/modules/index/index_categories.jsp"/>

request scope에 attribute 설정 할 수 있게 해서 ${ cats }로 접근 할 수 있도록 한다.