Hi all,
I'd like to be able to output certain segments of HTML multiple times, in
different cases.
The example below would be perfect, alas I think it's not supported by the
JSP implementation (since a declaration is handled before the HTML pass).
Correct me if I'm wrong please. :)
Example:
<%! void printHello()
{ %>
<B>HELLO WORLD</B>
<%! } %>
<HTML>
<BODY>
I'm saying, <%= printHello() %>
</BODY>
</HTML>
Any ideas on achieving something like this?
==============================================================
_/_/ Martin J. Wells http://www.tasman-studios.com
_/ CTO, Tasman Studios mailto:marty@tasman-studios.com
==============================================================
|