struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luiz-Otavio Zorzella <zorze...@codaware.com>
Subject How to have a generated string processed by Struts?
Date Wed, 29 Jan 2003 16:40:22 GMT
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message