Compile Declaration


Catalog:


Java Compiler Class

Each template is compiled into a Java class, and the template engine reads the Java class to generate the code or document (More)。
The compile declaration is used to define template compilation information. At the top of the template, each template must have only one declaration.

Package is the compiled Java class package name, class is the class name.

So, where is the java compiler class?

1)Click filters.

2)Uncheck JET2Project.

3)You can see a hidden project named JET2Project is displayed.
Note: Since version 1.5.0, Jmr invoke Java programming language compilers from programs, the JET2Project is no longer generated.


Compiler Declaration Structure

<%@jet .... %> , The structure used to define compilation information that contains the following attributes