Hello Kazim,

A quick test on my JSP page with Strtus 1.1 in place just works fine:

<%
 String[] names = {"joe", "cindy"};
 session.setAttribute("names", names);
%>

<bean:define id="n" name="names" scope="session" type="java.lang.String[]"
/>

<logic:iterate name="n" id="name">
     <bean:write name="name"/>
</logic:iterate>


what's the error message you're getting?

ATTA
----- Original Message ----- 
From: "Syed Kazim Hussain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 12, 2004 1:16 PM
Subject: bean:define Compile time exception on Orion


> On Orion, the <bean:define /> tag gives compile time error when it
declares
> an array e.g. :
>
> <bean:define id="a" name="a" type="b.C[]" />
>
> Here C is a class in package b. Is there anything wrong with the syntax ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to