Hi
I know if I want to access an enum in JSP i can do

<s:property value="@com.my.package.mye...@my_value"/>

However if MyEnum is public in a class, say MyClass, how do it get the
value?

I tried
@com.my.package.myclass.mye...@my_value
@com.my.package.mycl...@myenum@MY_VALUE
@com.my.package.mycl...@myenum.my_value
@com.my.package.MyClass.MyEnum.MY_VALUE

none worked.

is there a way to do it?
or its simply not permitted?

I am using Struts 2.1.8

Thanks

Reply via email to