This isn't a
Struts question.
You can only put objects into scope, but in
Java 5+ they'll be auto-boxed.
More importantly, attributes aren't the same as parameters. You're setting an attribute, and getting a parameter.
[ December 10, 2008: Message edited by: David Newton ]