From: mareluad on
Hello I want to create a arry with:

<%@ page import="java.util.*" %>

<c:setArray var="row" index="0" value="0"/>
<c:setArray var="row" index="1" value="1"/>
<c:setArray var="myArray" index="0" value="${row}"/>

<c:out value="${myArray[0][0]}"/>
<c:out value="${myArray[0][1]}"/>


but I get the next error :
The import java.until is never used (in file: "java.until.*")

Does someone has a solution.

Thanks

From: stepan.kozak on
I guess you mean java.UTIL not java.UNTIL - so this is probably first
error, but the exception you get, inform you that import of java.util
is not necessary, because common array is not there - in this package
are advanced arrays such an ArrayList etc.

Solution: remove import of java.util and check you have not mistake in
spelling (java.until)

From: mareluad on
Thanks so for this gives no error

But the next error is: Unkwown tag(c:setArray)

Must i have a orther package ?

Thanks

From: steen on
Well,

according to the JSTL api, there is no c:setArray tag
check http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html

/Steen

mareluad wrote:
> Thanks so for this gives no error
>
> But the next error is: Unkwown tag(c:setArray)
>
> Must i have a orther package ?
>
> Thanks

From: mareluad on
Tanks for your awnser.