Result interface in Struts 2.2.1
Posted on: January 21, 2011 at 12:00 AM
In this tutorial you will learn about the Result interface in Struts2.2.1

Result interface in Struts 2.2.1

Struts Result interface is a public interface of package com.opensymphony.xwork2. It extends Serializable interface. All the known classes such as PlainTextResult, ServletRedirectResult,  ServletActionRedirectResult, FreemarkerResult, StrutsResultSupport, VelocityResult, NullResult, XSLTResult, ActionChainResult, FreemarkerResult, ServletDispatcherResult, MockResult implements it.

It has a single method method execute(ActionInvocation invocation). It represents a generic interface for execution results for all actions.

Related Tags for Result interface in Struts 2.2.1:

Ads

 
Advertisement null

Ads