File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Bacis doubt input property in struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Bacis doubt input property in struts-config.xml" Watch "Bacis doubt input property in struts-config.xml" New topic
Author

Bacis doubt input property in struts-config.xml

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bacis doubt input property in struts-config.xml