You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Syed Kazim Hussain <ka...@qualitycheckinc.com> on 2004/03/12 22:16:49 UTC

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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: bean:define Compile time exception on Orion

Posted by Syed Kazim Hussain <ka...@qualitycheckinc.com>.
Could not find bean under name a

This works on Tomcat.

-----Original Message-----
From: atta-ur rehman [mailto:attar@numetrics.com]
Sent: Saturday, March 13, 2004 3:29 AM
To: Struts Users Mailing List
Subject: Re: bean:define Compile time exception on Orion


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" <ka...@qualitycheckinc.com>
To: <st...@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: bean:define Compile time exception on Orion

Posted by atta-ur rehman <at...@numetrics.com>.
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" <ka...@qualitycheckinc.com>
To: <st...@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org