Establishment of JSP development environment

Source: Internet
Author: User

After a hard review, I finally completed the setup of the JSP development environment on Eclipse. Before that, I found a lot about Eclipse Visual Programming Plug-in (VE) on the Internet) and J2EE plug-in installation and configuration articles, but not many will make me a problem.

I. Preparations to build a Java IDE development environment
◆ Jdk1.5.0 _ 07
◆ Eclipse 3.2 (green software can be used after decompression)

Ii. install and configure the Eclipse GUI Programming Plug-in VE
Download the four required plug-ins:
◆ Emf-sdo-rutime-2.20
◆ GEF-runtime-3.2
◆ VE-runtime-1.2
◆ VE-SDK-1.2
After the above four plug-ins are downloaded, decompress them to different folders to install them. There are two ways to install these plug-ins:

1. This method is the easiest. We only need to extract it and copy it. The specific operation is: extract the Eclipse folder from the decompressed folder (note: this folder is not the folder when Eclipse3.2 is installed, so pay attention to it here !) Copy all the content to the Eclipse installation root directory.
This method is simple, but because the plug-ins are all placed in a folder, it is difficult to manage many plug-ins.

2. Use the links folder to manage Eclipse plug-ins (this method is recommended ).
For convenience, first create a myplugins folder under your Eclipse root directory, and copy the folder obtained after the plug-in is decompressed to the myplugins folder (note: the copied folder name should be the corresponding "plug-in name". The "plug-in name" folder contains a folder named by Eclipse, in the "Eclipse" folder, there should be directories or files of varying numbers such as features and plugins ).

Create a links folder under the Eclipse root directory, and create the corresponding link file in the links folder, such as my computer

Links file: The plug-in name extension is link before the lomboz-and-prereqs3.link, the extension can be customized (Eclipse will search for files in the links folder at startup)

In this way, the plugin installation is complete. Open the Eclipse program, create a Java project, and then create a new swing or SWT file for GUI programming.


3. Create a JSP development environment on Eclipse
The main methods for setting up such environments are Eclipse + tomcat + lomboz, Eclipse + tomcat + myEclipse, etc. Because I am using the first method :), I will only summarize how Eclipse3.2 + tomcat5.5.20 + lomboz 3.2 builds the JSP development environment.

1. Prepare and download required software and plug-ins (indispensable)
◆ Tomcat Core (Installation Package)
◆ Tomcatplugin () I downloaded version 3.2Beta.
◆ Lomboz 3.2

2. install and configure atat5.5.20
A. install tomcat Core, decompress the tomcatplugin plug-in, and copy the folder (for example, com. sysdeo. Eclipse. tomcat_3.2.0.beta) in the plug-in package to the plugins directory under the Eclipse root directory.
B. open the Eclipse program and click "window"-> "Preferences"-> "tomcat" to set the tomcat version we have installed and the tomcat installation directory path (not the plug-in path ), go to advanced, set tomcat base to the tomcat installation directory, and go to the Tomcat Manager App to add users to your tomcat management interface.

After tomcat configuration is complete, click the start Tomcat button cat icon on the Eclipse toolbar) start tomcat and open http: // localhost: 8080 in the browser. If the tomcat page appears, the configuration is successful.

3. Install lomboz 3.2. Before performing this step, make sure that you have installed the preceding emf and gef plug-ins. If you do not need GUI programming, you can directly install these two plug-ins.

Decompress the downloaded lomboz 3.2 plug-ins and install the plug-ins ("links") as described above "). After the installation is complete, open the Eclipse program. If J2EE and other related project options appear in the new project, the installation is successful.

The installation and configuration of the JSP development environment has been introduced.

  1. Java Servlets (JSP) Development Environment
  2. Develop jsp http Server
  3. Select JSP development tools
  4. Servlet and JSP paths
  5. Technical Points for transferring in JSP Servlet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.