This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Consider Paul's rocket mass heater.
 
subject: what this input attribute means in action element of struts-config.xml
 
Similar Threads
ValidationForm causes error
New to Struts, where did I go wrong?
problem in seperate modules in struts
Error: Cannot retrieve mapping for action /Name
Error in struts-config.xml