Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dyna Action

 
amit bhadre
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When to use Dyna Action Forms? Coz I have many pages jsp's. Process becoming slow..time consuming plz tel how to use them....
 
Sree Kumari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
refer this url:
http://www.roseindia.net/struts/DynaActionForm.shtml.
in dynaAction forms instead of creating an ActionForm class we are giving the fields inside struts-config itself.
eg:
<form-bean name="DynaAddressForm"
type="org.apache.struts.action.DynaActionForm">
<form-property name="name" type="java.lang.String"/>
<form-property name="address" type="java.lang.String"/>
<form-property name="email" type="java.lang.String" />
</form-bean>

The form bean is of org.apache.struts.action.DynaActionForm which is a subclass of ActionFormBean
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is slow? Compile and deploy times or run time?

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic