R: From bean into "for" loop

2004-05-24 Thread Andrea M.
Hi Andy I'm afraid you are mixing jsp scriptlet with JSTL grammar You can use two approaches: If you want to use scriptlet (like you are doing now) You must of course declare it, e.g. like Then if tou want to use "someCount" property in you scriptlet you have to stick with usual java syntax: <

R: From bean into "for" loop

2004-05-24 Thread Amleto Di Salle
Hi, you are using scriplets and EL together. If you want to use JSTL, the following code is: For JSTL1.1 <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%> For JSTl1.0 <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%> //write my text here using "productelement"