--- On Thu, 9/11/08, Roger wrote: > I've got some .jsp pages that are identical apart from > the page title that I'm currently setting with > <title><s:text name="label.page1.title"/></title> > and > <title><s:text name="label.page2.title"/></title> > etc etc. > > Is there a work around?
You could try a normal OGNL expression, but I don't recall if the text tag will evaluate the "name" attribute: <s:text name="%{title}"/> If that doesn't work, just store the results of a getText() call in an action property, reducing the HTML to: <title>${title}</title> Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]