JSTL and using SINGLETON
843836Dec 28 2004 — edited Dec 29 2004I have modified an existing data bean to be a singleton, now with the constructor being private my JSP is no longer able to instantiate the data bean. I explicitly instantiate the new constructor and still get no results below is some of my code. Any advice would be appreciated.
<wcbase:useBean id="mfname" classname="com.example.commerce.jspdatabeans.MfnameDataBean" />
<%
mfname.getInstance();
%>
<c:forEach var="topMfname" items="${mfname.mfNames}">
<option value="<c:out value="CategoryDisplay?storeId=${WCParam.storeId} &catalogId=${WCParam.catalogId}&top=Y&categoryId=${topCategory.categoryId}"/>">
<c:out value="${topMfname}" escapeXml="false"/>
</option>
</c:forEach>