org.apache.struts2.config
Annotation Type Result


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Result

Defines an XWork Result


Required Element Summary
 String value
           
 
Optional Element Summary
 String name
           
 String[] params
           
 Class<? extends com.opensymphony.xwork2.Result> type
           
 

Element Detail

value

public abstract String value

name

public abstract String name
Default:
"success"

type

public abstract Class<? extends com.opensymphony.xwork2.Result> type
Default:
org.apache.struts2.config.NullResult.class

params

public abstract String[] params
Default:
{}


Copyright © 2000–2017 Apache Software Foundation. All rights reserved.