Hi, I'm not sure of it (I'm a beginner) but, I think that you can't do it because struts tags are translated to java code with the jsp page, so you can't construct a java code with struts code inside...
But, if you want to output a message content you can do it with a thing like this : output = RequestUtils.message( pageContext, null, Globals.LOCALE_KEY, "a.message" ); Nicolas -----Original Message----- From: Luiz-Otavio Zorzella [mailto:[EMAIL PROTECTED]] Sent: mercredi 29 janvier 2003 17:40 To: [EMAIL PROTECTED] Subject: How to have a generated string processed by Struts? What if I wanted to generate Struts tags dynamically, say something like this: <%= myClass.output () %> public class MyClass { public String output () { // I want this to be further processed by Struts!!! return "<bean:message key=\"a.message\"/>" } } How to do it? Thanks, Zorzella --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]