This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 result code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 result code" Watch "Struts2 result code" New topic
Author

Struts2 result code

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 169
Hi,
Please explain the situation for using the "input" result code in struts2.

Thanks
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

If you are doing validation you have to return input when there is any validation error that validator return 'input'


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Arun Giridharan
Ranch Hand

Joined: Sep 30, 2010
Posts: 290

for more details go through the validation interceptor (in the struts-default.xml) mainly validation and workflow .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 result code