2000 the construction of the Environment development platform of JSP

Source: Internet
Author: User
Tags window zip tomcat tomcat server
JS A. Build JSP environment under Windows 2000

System environment:

1, operating system: Windows 2000

This example uses the software to download the address:

1), J2SDK1_3_0-WIN.EXE[29.4MB]

Http://java.sun.com/products/jdk/1.2/

2), JAKARTA-TOMCAT-4.0-B3.ZIP[5.0MB]

http://jakarta.apache.org/builds/tomcat/release/v4.0/

Installation method:

(i) Installation of JDK

The first step is to install J2sdk1_3_0-win.exe using the default configuration

The default installation directory for JDK is c:jdk1.3,

The default installation directory for JRE is C:Program FilesJavaSoftJRE1.3;

Step two, update the environment variables

Start-> setup-> Control Panel-> System-> Advanced-> environment variable-> system variable

New Classpath:c:jdk1.3lib Ools.jar;c:jdk1.3libdt.jar;

New path:c:jdk1.3;c:jdk1.3in;

(ii) installation of Tomcat

The first step is to extract the Jakarta-tomcat-4.0-b3.zip into the C:jakarta-tomcat directory

The second step, enter the C:jakarta-tomcain directory, find the Startup.bat batch file, add the following two lines:

Start Set Tomcat_home=c:jakarta-tomcat

Set java_home=c:jdk1.3

Step three, double-click Startup.bat to start the Tomcat server

At this point, a window named Catalina appears with some initialization information to prove that Tomcat is running successfully.

Step Fourth, enter http://localhost:8080 on the browser

If you can see the Tomcat Version 4.0 page, the Tomcat installation is successful. There are some examples of JSP and servlet, the JSP environment is completed.

Note: Windows Catalina cannot be turned off or the Tomcat server stops service

  Two. Weblogic6.0 Installation and Configuration

The 6.0 version does not require independent JDK support, and it already has a fully built in jdk1.3

Installation:

1. Installation, directly using the installation file Weblogic600_win.exe installation.

2. During the installation process, if some text is not visible, you can pull up the installed window a bit larger

3. The installation needs to specify WebLogic's home Directory, and then the WebLogic products are loaded into this

Home directory is okay.

4. Install to the last need to enter 8-digit password

Configuration:

1. Weblogic6.0 supports JSP by default.

6.0 The default installation is three domain. examples, mydomain and Petstore, respectively.

We take mydomain as an example, your JSP file can be directly placed in the

D:/bea/wlserver6.0/config/mydomain/applications/defaultwebapp_myserver directory (individual according to the actual situation to d:/bea/wlserver6.0 make corresponding changes)

Defaultwebapp_myserver is a 6.0 default Web application that we use directly

It's okay.

2. Visit your JSP file http://127.0.0.1:7001/xxx.jsp.

3. Make JSP support JavaBean

Create a new directory under the MyDomain directory serverclasses

Modify the Startweblogic.cmd in the MyDomain directory

At the end of the set classpath= ... a line is added.

;. Configmydomainserverclasses

The JavaBean you use in your JSP can be used under mydomain/serverclasses.

  Three. Weblogic6.0 console is the access method implemented in the browser

Http://127.0.0.1:7001/console, if you need to log in.

User Name System

Password: Installation is the 8-bit password that belongs to







Related Article

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.