aspose file tools*
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 Spring in Action this week in the Spring 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 .
 
 
subject: Struts2 result code