I have the following class
package com.test;
public class SomeClass {
public enum COLOR {RED,BLUE}
}
I want to access values of COLOR
enum in my JSP. I've tried the following code but it doesn't work.
<s:property value="@com.test.SomeClass.COLOR@RED"/>
<s:property value="@com.test.SomeClass@COLOR.RED"/>
Any body came across this issue before? [I've already enabled static method access in struts.xml]