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 Struts2 result code 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 "Struts2 result code" Watch "Struts2 result code" New topic
Author

Struts2 result code

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
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
 
Similar Threads
Struts2 Annotations
struts2 + interceptor
Struts2 CannotRenderException
Struts2 redirect...
Struts2