Hi,

the "100% pure Strust" way could to write a index-page that automatically passes
control (redirect-meta-tag) to an action, which could call the model to 
populate the collection, stuff it into the request and forward control to 
a suitable jsp-page. If you supply a link to start the app from the "outside"
you can omit the index-page-redirect and immediately supply the action-url...

Alternatively, leave the setup-code in the servlet and enter the traditional
Struts-way of doing from the index-page on. 

Struts allows this kind of mix-and-match, which is one of the most important
features (in my opinion).

hope this helps
Alexander

-----Original Message-----
From: Roshan Paiva [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 16. April 2002 21:49
To: 'Struts Users Mailing List' (E-mail)
Subject: Design Help...


Hi..

I am designing an application which needs to populate a table in the index
page.

Previously what i had done was, in a servlet first populated a collection by
calling a Manager class, then setting the collection in a request object,
and then forwarding it to the index page which will get the collection
from the request object and then populate the table.

Could you pls help me out and tell me the best way to implement that
using the struts framework.


Thanks and Kind Regards
Roshan


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

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

Reply via email to