Please
UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the
button.
You can't nest tags like that; that's not valid
JSP. Have you read the
Struts 2 documentation? Particularly regarding OGNL and how to use expressions in the S2 tags?
(If it's actually a boolean as you said in the first paragraph, which your code contradicted.)