struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Baroukh <mbaro...@cardiweb.com>
Subject Re: html:hidden
Date Sun, 10 Jun 2007 15:54:43 GMT
it's because setValue() for the taglib need a String.
try

<html:hidden property="loginid" value="<%= (String)request.getAttribute("loginid")%>"
>

Mike

john lee a écrit :
> How to assaign value to html:hidden field?
>    
>   <html:hidden property="loginid" value=<%= request.getAttribute("loginid")%>>
>    
>   but give me the error message, saying need double quote, after i put double quote before
"<%..", cause jsp compile error,
>    
>   any clue?
>    
>   tks in advance
>    
>   john
>
>  
> ---------------------------------
> Sucker-punch spam with award-winning protection.
>  Try the free Yahoo! Mail Beta.
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message