Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse JET Guide
Previous Page Home Next Page


Standard JET2 Java Tags


Replace the enclosed content with the equivalent unqualified Java name (if possible), and ensure an appropriate Java import statement is generated.

This tag must be preceded by a 'importsLocation' tag.

Tag Summary
required <java:import>
    content consumed by tag evaluation
full tag <java:import>
    content consumed by tag evaluation

<%-- generates List and in import java.util.List import if another List is not imported --%>
package org.example;

<java:importsLocation package="org.example"/>

... later in the template ...

<java:import>java.util.List</java:import> myList;

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire