aspose file tools*
The moose likes Struts and the fly likes what this input attribute means in action element of struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "what this input attribute means in action element of struts-config.xml" Watch "what this input attribute means in action element of struts-config.xml" New topic
Author

what this input attribute means in action element of struts-config.xml

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
hi all
what this input attribute means in <action> element of struts-config.xml
action path="/Lookup"
type="ch03.LookupAction"
name="lookupForm"
input="/index.jsp"
forward name="success" path="/quote.jsp"/
forward name="failure" path="/index.jsp"/
</action>

thanks in advance
sai prasanna
Jorge Pinho
Greenhorn

Joined: May 16, 2003
Posts: 25

The input parameter is only relevant if you set: validate="true"

This will cause ActionForm.Validate() to be executed and if you return a populated ActionErrors Object, struts will redirect to the page, action or tile defined in "input"

HTH,
Jorge


Jorge Pinho / SCJP 5
Live Help via Skype - lets.talk.about.help
Dont wait for forum answers
 
Don't get me started about those stupid light bulbs.
 
subject: what this input attribute means in action element of struts-config.xml