You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Heligon Sandra <Sa...@nextream.fr> on 2002/07/04 16:31:13 UTC

DynaActionForm vs JavaBean property to display data in JSP

	Hi,

	In a Struts application we can use two solutions to display
	data in the JSP pages:

	- The action updates the DynaActionForm associated to the
	   request ( I don't find in the source 1.1 which method is called
by the Action
	   to do this task). In the JSP we use <html:form> to access data
form the
	   DynaActionForm, is it true ? 

	- The second solution consists of use get/setProperty of the
JavaBeans directly and	
	  not use DynaActionForm.

	Is one solution better than the other ?
	Is it good(time result) to automatically update the DynaActionForm ?

	What are the downsides or advantages of each solution ?

	Is it possible two use the two mechanisms with the Tiles features ?

	Thanks a lot

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>