I've never used
Struts tags but a look
over here shows that the parameter attribute refers to the name of a request parameter.
Also, if Struts tags are anything like the JSTL, then you can't access scriptlet variables in the tags; they only work with attributes in the various scopes.
So your first condition fails, probably because the parameter evaluates for false.
EDIT: I guess if you were to use the 'name' attribute instead of the 'parameter' attribute and put the String into a scope you'd see it work correctly.
[ October 22, 2007: Message edited by: Tarun Yadav ]