Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bacis doubt input property in struts-config.xml

 
Mark Henryson
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very confused on the input property in the action mapping of struts-config.xml.
Whether the input property in the action mapping is mandatory and what it's use?.

I am trying do the following:











I am getting the following error:

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exception shown has nothing to do with the "input" attribute. The "input" attribute defines the page that has the form on it--if validation fails this would be the page you'd want to return to. I don't recall if it's mandatory or not, but it's handy.

You don't describe the circumstances under which you get the exception, so it's hard to help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic