>>Has any one done recursive displays using JSP?

Yes and it work out fine... 
i just did more scope tricks :)

>>showTree.jsp:
>>1. Read the root Message
>>2. Place root message into Request with name of "message"
>>3. 
>>display.jsp:
>>1. Assume there exists an object in request called "message" of type Message

copy the message object from the request in the page scope (bean:define).

>>2. Display the details of the message
using page scope object

>>3. Iterate over message.getReplies()
using page scope object

>>4. For each object in the iteration
>>   a. Put the object into request with the name of "message"
>>   b. 

i hope you get it to work ... 


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

Reply via email to