You need to use OGNL expression rather than JSP RT expressions:
http://struts.apache.org/2.0.11.1/docs/tag-syntax.html
though generally, just the name= is enough unless you need the value to
come from one place but get saved somewhere else on submit.
L.
Tauri Valor wrote:
I get the following error :
According to TLD or attribute directive in tag file, attribute value does
not accept any expressions
I could get the value using html tag '<input type=text..value=<%= ...%>>'
Thanks,
Tauri.
Tauri Valor wrote:
Hi
Is there a way to include value for textfield tag in struts2 , Im trying
the following :
<td><s:textfield name="firstName" label="*First Name" size="15"
value="<%=freshUser.getFirstName() %>"/></td>
But I get tld error..
Please let me know how I could use jsp tag in the textfield tag, or let me
know an alternative...
Thanks in Advance,
Tauri.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]