Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple question about formbean

 
thomas wilson
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Struts, so this is a rather simple question. I see that some action have formbean stated inside the action tag and some do not, even though the data also seem buffered somewhere for the latter. Please explain.

1) <action
path="/xxx"
parameter="method"
name="xxx"
input="xxx.xxx.xxx"
scope="request"
validate="false"
type="xxx.xxx.xxx">
<forward name="success" path="xxx.xxx.xxx" redirect="true"/>
</action>

2) <action
path="/xxx"
parameter="xx"
type="xxx.xxx.xxx">
<forward name="success" path="xxx.xxx.xxx" redirect="true"/>
</action>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic