sometime,IDE is the memory eater.sometime,simple generator web based is a good choice!
generate Struts2 tag set code snippet
The set tag assigns a value to a variable in a specified scope. It is useful when you wish to assign a variable to a complex expression and then simply reference that variable each time rather than the complex expression. This is useful in both cases: when the complex expression takes time (performance improvement) or is hard to read (code readability improvement).