THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
FreeMarker by default uses the "<#directive />" syntax. FreeMarker supports an alternative syntax, where [ and ] are used instead of < and >. To enable the alternative syntax, add #ftl at the beginning of the template. The alternative syntax makes it easier to differentiate between FreeMarker directives, and JSP or HTML tags.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[#ftl] <html> <head>FreeMarker Example</head> <body> <h1>Alternative Syntax</h1> [@s.if test="printName"] [@s.property value="myBeanProperty" /] [/@s.if] </body> </html> |
...