My actions have a method, called getJavascriptIncludes() which returns a List<String> object.
I'm iterating like so, in the head: <s:iterator value='javascriptIncludes'> <s:set name="js_file" value="[0]"/> <script type="text/javascript" src="<s:url value='%{js_file}'/>"</script> </s:iterator> Here's what's generated: <script type="text/javascript" src="[/pages/getpic/js/getpic_lib.js, com.secmgmt.struts2.actions.common.indexact...@4b7c69, com.opensymphony.xwork2.defaulttextprovi...@658bbe]"</script> How do I get it to be just the first thing in that list? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org