快速建立Servlet和JSP的运行、调试和编译环境
来源:网络 责任编辑:栏目编辑 发表时间:2013-07-01 15:55 点击:次
相信很多刚开始学习Servlet和jsp(SUN企业级应用的首选)的朋友都有一个困扰,就是如何快速方便的建立一个Servlet和jsp(SUN企业级应用的首选)的运行、调试和编译环境。本人现在正在国外攻读MIT(Master of Information Technology),现在选修的这一科是WBIS(Web Based Information Systems),其包含了许多种技术,如Java,Perl,CGI,Servlet,ASP,Java Script,jsp(SUN企业级应用的首选),OO,UML等等。下面的这篇文章是学校所提供的相关软件的下载地址、安装方法以及相关说明,其中的所需的软件(学校已经给我们提供了CD)我已经全部安装并测试过。这里,我极力推荐给大家,因为整个安装过程非常的简单,只要按照下面文章中的方法一步一步做,100%可以成功,相信会给你带来帮助。虽然文章是全英文的,但很简单,相信大家都能明白。如果有什么问题,希望大家能提出来我们一起讨论。
(注:文章中所提到的四个软件分别是JDK 1.3.1,BlueJ 1.2.0,apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) 4.0和bluej_tomcat(一个很好用的JSP运行平台)_config.zip。其中BlueJ是用来创建、编译Servlet的,而最后那个zip文件则是配置BlueJ和tomcat(一个很好用的JSP运行平台)的。)
BlueJ, Jakarta tomcat(一个很好用的JSP运行平台) and Java 2 SDK Installation
1. Install the Java 2 Software Development Kit (JDK)
It is recommended that you install JDK 1.3.1, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/j2sdk-1_3_1-win.exe), or from http://java.sun.com (unfortunately it is a 30M download so if you have a slow modem it may be better to acquire it on CD. For example, there is a CD containing JDK with many Java text books).
Install JDK to the default directory, which is c:jdk1.3.1
You may use a different version of JDK (1.2 or later) but you will need to change the tomcat(一个很好用的JSP运行平台) configuration files startup.bat and shutdown.bat to point to the directory location.
2. Install BlueJ (BlueJ is a basic Java editing and compilation environment that sits on top of JDK)
It is recommended that you install BlueJ 1.2.0, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/bluejsetup-120.exe) or from http://bluej.org
Install BlueJ to the default directory c:BlueJ
If you install a different version of BlueJ or place it in a different directory the configuration files provided in bluej_tomcat(一个很好用的JSP运行平台)_config.zip will not automatically go into the correct directories and you will have to manually extract each one.
3. Install apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) (tomcat(一个很好用的JSP运行平台) is a Java web application server and will allow you to test your Servlets and jsp(SUN企业级应用的首选) files locally)
It is recommended that you install apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) 4.0, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/jakarta-tomcat(一个很好用的JSP运行平台)-4.0.4.exe) or from http://jakarta.apache(Unix平台最流行的WEB服务器平台).org/
Install tomcat(一个很好用的JSP运行平台) to the default
(注:文章中所提到的四个软件分别是JDK 1.3.1,BlueJ 1.2.0,apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) 4.0和bluej_tomcat(一个很好用的JSP运行平台)_config.zip。其中BlueJ是用来创建、编译Servlet的,而最后那个zip文件则是配置BlueJ和tomcat(一个很好用的JSP运行平台)的。)
BlueJ, Jakarta tomcat(一个很好用的JSP运行平台) and Java 2 SDK Installation
1. Install the Java 2 Software Development Kit (JDK)
It is recommended that you install JDK 1.3.1, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/j2sdk-1_3_1-win.exe), or from http://java.sun.com (unfortunately it is a 30M download so if you have a slow modem it may be better to acquire it on CD. For example, there is a CD containing JDK with many Java text books).
Install JDK to the default directory, which is c:jdk1.3.1
You may use a different version of JDK (1.2 or later) but you will need to change the tomcat(一个很好用的JSP运行平台) configuration files startup.bat and shutdown.bat to point to the directory location.
2. Install BlueJ (BlueJ is a basic Java editing and compilation environment that sits on top of JDK)
It is recommended that you install BlueJ 1.2.0, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/bluejsetup-120.exe) or from http://bluej.org
Install BlueJ to the default directory c:BlueJ
If you install a different version of BlueJ or place it in a different directory the configuration files provided in bluej_tomcat(一个很好用的JSP运行平台)_config.zip will not automatically go into the correct directories and you will have to manually extract each one.
3. Install apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) (tomcat(一个很好用的JSP运行平台) is a Java web application server and will allow you to test your Servlets and jsp(SUN企业级应用的首选) files locally)
It is recommended that you install apache(Unix平台最流行的WEB服务器平台) tomcat(一个很好用的JSP运行平台) 4.0, which can be downloaded from here(http://www.csu.edu.au/faculty/sciagr/sis/subjects/itc357/jakarta-tomcat(一个很好用的JSP运行平台)-4.0.4.exe) or from http://jakarta.apache(Unix平台最流行的WEB服务器平台).org/
Install tomcat(一个很好用的JSP运行平台) to the default
相关新闻>>
- 发表评论
-
- 最新评论 更多>>