Home struts generators
sometime,IDE is the memory eater.sometime,simple generator web based is a good choice!

generate Struts2 tag dojo head code snippet

To debug javascript errors set the "debug" attribute to true, which will display Dojo (and Struts) warning and error messages at the bottom of the page. Core Dojo files are by default compressed, to improve loading time, which makes them very hard to read. To debug Dojo and Struts widgets, set the "compressed" attribute to true. Make sure to turn this option off before moving your project into production, as uncompressed files will take longer to download.

head
baseRelativePath
cache
compressed
debug
extraLocales
locale
parseContent
Examples
<head>
<title>My page</title>
<sx:head/>
</head>

<head>
<title>My page</title>
<sx:head debug="true" extraLocales="en-us,nl-nl,de-de"/>
</head>
references http://struts.apache.org/2.x/docs/dojo-head.html