<html:hidden property="dispatch" value="author"/>
works well because "author" is expected literally as
the value of a property called "dispatch".
I also want to pass
String username = request.getRemoteUser();
as the value of a property called "keyValue".
But, either
<html:hidden property="keyValue" value="username"/>
or
<html:hidden property="keyValue" value=username/>
gives me problems. What is the proper way of doing it?