java:package - Get java package

<java:package>

Get the package name of the Java class. 
If the generated path is not the Java source folder, the output is an empty string.

Attribute

packageNameVar(optional)
Set the variable to save package name, default is save in the context
setScope(optional)
Set the scope of the packageNameVar

Property
context:Set variable to context(default)
session:Set variable to session

Example

More about please click here