Skip to main content
summaryrefslogtreecommitdiffstats
blob: f38e90fba719a2c41aff55e8c240c8745b27db3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%@jet class="Foo" package="org.eclipse.emf.examples"%>
<%-- @header
This is the header comment for the file
It has many lines 
--%>
<%-- @class
This is the class comment.
It has many lines --%>
Some top level text.
<%= "An expression" %>
<%!
int foo() {
	return 3;
}
%>
<%
if(foo() > 0) {
	foo();
}
%>
<%-- a comment --%>
<test:container one="test one" two='test two'>
    <test:empty/>
    <test:container>
        some text <nontest:text attributes="foo"/>
    </test:container>
</test:container>
<%-- tags containing Java --%>
<test:container>
    <%= foo(); %>
    <% if(foo() > 0) { %>
        some text
    <% } %>
</test:container>
<%-- Java container tags --%>
<% if(foo() > 0) { %>
        some text
        <test:empty/>
        <test:container>
        </test:container>
<% } %>

Back to the top