Home > Guides > Core Developers Guide > Annotations > Namespace Annotation |

Apache Struts 2 Documentation
Namespace Annotation
Edit Page Browse Space Add Page Add News

# Namespace Annotation

The `@Namespace` annotation allows the definition of an Action's namespace in the `Action` class rather than based on Zero Configuration's conventions.

## Usage

This annotation is placed at the class level.

## Parameters

Name | Type | Required | Description
--- | --- | --- | ---
value | String | true | The namespace to use for the annotated action class.