What you call a "macro" is simply a JSP "custom Tag". You can create tag for your application to add the behaviour you need, such as searching some scope for XXX and adding it to the message that you can get the way MessageTag does (you can grab struts MessageTag code for this !)
Nico. > Is there a way in struts (or otherwise?) that I can automate this > somehow? It would be nice to be able to make some sort of macro where > I could just say something like: > > my.message=Welcome to {$YYYYYY} > > everywhere and have it automatically replaced with XXX YYYYYY because of > soemthing that I had done earlier in the jsp, properties file, or code. > > Thanks! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]