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 Web Tools Guide
Previous Page Home Next Page

Enabling content assist for JSP files

Having the proper files defined in the Java™ build class path is essential for content assist to work properly in JSP files. It is also essential for the links builder to be able to correctly resolve links to servlets or Java beans in JSP and HTML files.

To enable content assist for JSP files:
  1. To determine whether the build path is correct, select Properties from the project's pop-up menu.
  2. Select Java Build Path, and then the Libraries page. You should see the following files:
    • j2ee.jar
    • rt.jar
    • servlet.jar
    • webcontainer.jar
  3. If they are not present, add them as External JAR files. You may have your own versions of these files, depending on the level of JDK or Servlet API for which you are developing.
  4. If your Web applications reference other JARs, you can place them in the build path as follows:
    1. Use the Add JARs button on the Library page. You must ensure that the JAR file is available to the server by properly configuring the server.
    2. Add the JARs to the WEB-INF/lib directory. They will be automatically added to the build path and deployed to the server in as part of the project WAR.

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