From: Brad C. <bc...@vi...> - 2002-03-26 21:18:03
|
Thanks to all who replied. Will see if Kevin's suggestion floats my boat. If not, I'll wheel out the MLS preprocessor again. PS: MLS addresses the syntax issues in Java by using {{diggraphs}} as syntactic sugar for "string". So... print {{ <html><title>{{anyExpressionWhatSoEver}}</title></html> }}; expands into precisely this print "\n"+ <html><title>"+anyExpressionWhatSoEver+"</title></html>\n"+ ""; Even-level nestings (including zeroth) expand into strings while odd-level nestings expand as the original text. A simple solution to a common problem (FAR simpler than JSP or Velocity) that doesn't involve language modifications at all. -- Brad Cox, PhD; bc...@vi... 703 361 4751 o For industrial age goods there were checks and credit cards. For everything else there is http://virtualschool.edu/mybank o Java Interactive Learning Environment http://virtualschool.edu/jile o Java Web Application Architecture: http://virtualschool.edu/jwaa |