This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes struts doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts doubt" Watch "struts doubt" New topic

struts doubt

kishore nerella

Joined: Jul 17, 2007
Posts: 15
Can anyone please tell me about this struts doubt.

Why we are writing
<form-bean type="package.formbean"/>
in every struts-config.xml

and why we are writing
<form-bean type="java.lang.string"/>
<form-bean type="java.lang.Integer"/>
in struts-config.xml for DYNAACTIONFORM.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The answer to this question can be found in the secion on ActionForms in theStruts User Guide.

Consultant, Sima Solutions
I agree. Here's the link:
subject: struts doubt
Similar Threads
doubt on valdation framework
struts-config.xml:Why form def need a separate section?
Error while trying NewsLetter Example
Problem Running Struts Example
Cannot retrieve definition for form bean HtmlFileForm error??