<c:set var="suggsArray" value="${suggestionList.value}"/>

or were you really asking how you can access an EL variable in a scriplet?



Sorry but I'm off to bed now anyway.

Adam

On 09/16/2003 12:27 AM Billy Bacon wrote:
I'm hoping someone can help me out with this one.... I'm almost finished
converting the entire app :-)

I have a <c:forEach> loop and within the loop I have a scriptlet. Now I'm
aware that JSTL variables are *not* visible within scriptlets. So how would
I convert the following below... 'suggestionList' is the variable that I'm
having trouble with.

<c:forEach items="${SPELL_CHECK_SUGGESTIONS_BEAN}" var="suggestionList">

<% String[] suggs =
(String[])((java.util.Map.Entry)suggestionList).getValue();

....
%>

</c:forEach>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to