Balkan,
The values retrieved from the database don't need to be put into an
ActionForm. Just put the collection or bean as a session or request
attribute in your Action class, forward to your second page, and then
retrieve the values and display them. There is no need to have an
ActionForm associated with your second page. ActionForms are mainly used
when you are taking form input from a page.
-Richard
At 07:49 AM 8/13/2005, you wrote:
Hello.
There is something I could not understand with actionForms.
Suppose that I have 2 pages and a action.
In first page I want to take student number and call the business objects in
action to fetch the student details from database and show them in the
second page.
there is a studentNumberForm declared in the action-mapping block with the
studentAction. So struts will fill the studentNumber field of the
studentNumberForm with the first page parameter and send it to the
studentAction.
The question is after taking the student detail from DB where will I place
them to show in the last page? There is only one action form...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]