You may use
<html:hidden property="keyValue" value="<%= username%>"/>

just a note:
you may use .
<bean:parameter id="username" name="REMOTE_USER" value="null"/>
instead of
request.getRemoteUser();

Manish Singla


Caroline Jen wrote:

> <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,
> <html:hidden property="keyValue" value="username"/>
> or
> <html:hidden property="keyValue" value=username/>
>
> gives me problems.  What is the proper way of doing it?
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to