Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > Generic Tag Reference > elseif |

Apache Struts 2 Documentation
elseif
Edit Page Browse Space Add Page Add News
Icon

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

## Description

Perform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.

## Parameters

#### Dynamic Attributes Allowed: false
#### Name | #### Required | #### Default | #### Evaluated | #### Type | #### Description
--- | --- | --- | --- | --- | ---
test | true |  | false | Boolean | Expression to determine if body of tag is to be displayed

## Examples