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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

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

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<java:import>

Standard JET2 Java Tags

import

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
</java:import>
full tag <java:import>
    content consumed by tag evaluation
</java:import>

Example
<%-- 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