> I have an object named "Wizard" in the request. > > Wizard has a property defined as > > pubic Class Wizard { > private List progressBar = null; > public Wizard() {} > public List getProgressBar() { return progressBar; } > } > > in JSP i do this > > <logic:iterate name="wizard" property="progressBar"> </logic:iterate> > > how can i test if the progressBar is null before i start the iterate.
Use JSTL: <c: if test="${!empty wizard.progressBar}"> <logic iterate name="wizard" property="pregressBar"></logic:iterate> </c:test> -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]