JSP installation and configuration

1. Overlook the steps of JDK, JSP, and Eclipse foundational installation

2. Configuration of Eclipse SE
As we known, at beginning of learning java, we usually chose eclipse standard edition. But when we steped into Java EE, there are no enough pkgs for our new project, like Dynamic Web Project. So that the first thing is to add the plug-in of EE.

a. Click "Help" >> "Install New Software" 
b. Type "Eclipse Luna repository - http://download.eclipse.org/releases/luna/" in the session of work with.
c. Type "ee" into the session of the blank space for searching.
d. Choose "Web XML ..."
e. next for installing.

3. Troubleshoot the error “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path”

a. Click "Eclipse" >> "Pereference" >> "Server" >> "Runtime Environment".
b. Click "add", chose Apache Tomcat v8.0 (I am using this version, if you use others, please choose correspond one). 
c. Fill out the installation directory, like "/Users/binguo/Documents/workspace/apache-tomcat-8.0.21".
d. After you configured the environment, please import the apache library like shown below: goto build path >> "Add Library" >> "Server Runtime" >> "Apache Tomcat v8.0" >> "Finish".

ENJOY YOUR PROGRAMMING…

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章