> -----Original Message-----
> From: terry Highfield [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 17, 2004 4:26 PM
> To: [EMAIL PROTECTED]
> Subject: Recursive pages
>
>
> Hi all,
>
> Does anyone know how to make recursive jsp pages?
Intentionally? No.......
I've done it with a tiles oopsie. Kind of cool.....
>
> I believe this can be done using <%@ include file="recursive.jsp" %>
>
> I have done this as :-
>
> <nested:present property="replies" >
> <nested:iterate property="replies">
> <%@ include file="recursive.jsp" %>
> </nested:iterate>
> </nested:present>
> The above code is actually in recursive.jsp
>
> The bean behind this has a structure :
>
> class Message implements Serializable {
> int id
> String subject
> String messageText
> ArrayList replies // Message objects
I think a custom tag to get your tree out would be better then trying to do this.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]