I need rewrite jsp page from Struts 1 to Struts 2. In Strust 1 is in the page something like this: <% String variable = ... %> <html:hidden property="foo" value="<%= variable %>"/>
I tried to rewrite it in Struts 2: <% String variable = ... %> <s:hidden name="foo" value="<%= variable %>" /> but this doesn't work. It return an error message: "According to TLD or attribute directive in tag file, attribute value does not accept any expressions" I really don't know how to access variable in a Struts 2 tag? I tried to read Struts 2 documentation, but I didn't find solution. -- View this message in context: http://www.nabble.com/How-to-write-variable-in-a-Struts-2-tag--tp15981156p15981156.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]