> Hi, newbie question again.
> I'm trying to use <bean:write> within <html:text> tag.  

You can't. You cannot nest tags. Use the el tags instead. 

> Here is how I use it with just plain HTML and it works:
> <input type=text name="somename" value= ' <bean:write 
> name="myBeanName" property="id"/> ' > or <input type=hidden 
> name="somename" value= ' <bean:write name="myBeanName" 
> property="id"/> ' 

DON'T assign a value in your <html:text, html:select, or any other of the
tags. Instead, populate the form bean with the values you want to appear in
the page. The tags will read the values of their "property" attributes, and
those values will be displayed.

--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to