Hi,

try to set the attribute in your page context:
pageContext.setAttribute("qq", serverNames);
This should do you the trick.

Chris


MaFai wrote:

>
>     DearAll:
>     Alwaysthrowthefollowingexception
>     org.apache.jasper.JasperException:Cannotfindbeanaainanyscope
>     Here'sthecode
>     < %
>     //Here'saddsomelogictocaterthenewrequest
>     //Searchtherecordbytheservername
>     RoleDBrdb=newRoleDB();
>     Role[]roles=rdb.getRole(request.getRemoteUser());
>     rdb.close();
>     ServerDBsdb=newServerDB();
>     Recorder[]serverNames=sdb.getRecorderList(roles);
>     request.setAttribute("qq",serverNames);
>     out.println("totalrecorder:"+serverNames.length);
>     sdb.close();
>     %>
>     < bodyonload="setDefaultIsRaw()">
>     < logic:iterateid="aa"name="qq"type="IAD.Bean.Recorder">
>     < bean:writename="aa"property="name"/>
>     < /logic:iterate>
>     Anysuggestion
>     Bestregards.
>     MaFai
>     [EMAIL PROTECTED]
>     2004-09-14
>     34955929
>
>
>
> = = = = = = = = = = = = = = = = = = = =
> Best regards.
> MaFai
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 2004-09-14
> 34955929
>       
>

Reply via email to