struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koni Roth <konir...@bluewin.ch>
Subject Re: How To Output the Value Of a Hidden Field?
Date Wed, 17 Dec 2003 09:15:22 GMT
You cannot have two properties with the same name in a form.
Try:

<html:hidden property="creator_1"/>
<input type="text" name="creator" vlaue="<bean:write name="beanName" 
property="creator_1"/>" size="82" maxlength="25" tabindex="1"/>

cheers
Koni


Caroline Jen wrote:

> My JSP #2 receives a hidden field passed from JSP #1:
> <html:hidden property="creator"/>
> 
> In the JSP #2, I have a text field:
> <html:text property="creator" size="82" maxlength="25"
> tabindex="1"/>
> 
> and I want the value of the hidden field to be the
> text in the text field of the JSP #2.  Please advise
> how to do it?
> 
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/



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


Mime
View raw message