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 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what this input attribute means in action element of struts-config.xml
 
Similar Threads
problem in seperate modules in struts
Error: Cannot retrieve mapping for action /Name
Error in struts-config.xml
New to Struts, where did I go wrong?
ValidationForm causes error