Skip to main content
summaryrefslogtreecommitdiffstats
blob: 241c44d0d611c49c3d2d8ad05f277a711b7bf885 (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
<%@jet class="Foo" package="org.eclipse.emf.examples"%>
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