Hi,
Thanks for your reply.
I'm searching a jstl implementation for my jsp code. I'm trying for a jstl and jsp 2.0 implementation for the following code
code
for(int i=offset.intValue(), l = Math.min(i + maxPageItems,arrResult.size()); i < l ;i++) {
MyBean result = (MyBean)arrResult.get(i);
<td><%=result.getCity()%></td>
............................................
if that for loop is omitted, then rest is working fine for me..
<c:forEach items="${searchResults}" var="searchResult" varStatus="searchIndex"> .....
while using the Math.min in the <c

ut> its throwing an exception like this
/WEB-INF/pages/Search.jsp(329,14) The function min must be used with a prefix when a default namespace is not specified
How i can convert the above code to jstl and jsp 2.0? and is it possible to assign a scriplet as the value in a jstl tag?