EDIT
From 2.3.20 and higher , access to the static method will no longer work , even if it is activated in the configuration.
To access static methods you need to:
in struts.xml
<constant name="struts.ognl.allowStaticMethodAccess" value="true"/>
in your jsp
<s:property value="@ com.your.full.package.Classname@methodName (optionalParameters)" />
But, as noted by the flight, this should be avoided, if not strictly necessary, because this is not the best practice.
In your particular case, I assume that the Object containing ["String1", "String2", ...] is a List or Vector, or something like that.
Then all you need in your JSP is the <s:iterator> , like this:
<s:iterator name="yourObjectContainingAListOfString"> <s:property /> <br/> </s:iterator>
source share