Marcus Biel wrote:
If you got Data records from a database -
have they got to be saved in an ActionForm, or in a value bean ???

I guess they have to be saved in a value bean,
because ActionForm just take request parameters.

If so, what about the action mapping ?
name="ValueBean" instead of name="ActionForm" ?
Well, deffinitly not in a Form bean.

The way I do it is to put the value bean in the request scope, and then use it from the view.

ie. request.setAttribute("nameConstant",valueBean);

Then the value bean is available to all the JSP tags.

Does this help?

A.


--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103



--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to