使用Resin在NT环境下配置JSP环境!_MySQL
首先你需要在WIN2000上安装IIS服务器,然后进行下面的步骤:
一、下载必要的软件。
一个是jdk,现在的最新版本是1.4,可以到java的官方站点下载:
http://java.sun.com/j2se/1.4/download.html
选择Windows(alllanguages,includingEnglish)这个,大约35M
第二个是支持JSP的服务器。我选择的是Resin,因为它的效率很高,而且对xml和中文的支持很好。最新版本是Resin-2.1.4,可以到他的官方站点下载:
http://www.caucho.com/download/
二、安装软件:
1、安装JDK1.4
按照正常的步骤安装结束以后,需要设置一下环境变量。右键单击"我的电脑"--属性--高级--环境变量,在系统变量中增加变量CLASSPATH(如果存在的话就选择编辑),变量值为C:\j2sdk1.4.0\lib\tools.jar;C:\j2sdk1.4.0\lib\dt.jar;(这里假定你按照缺省的方式安装,否则自行调整JDK路径)。然后编辑另一个变量Path(如果不存在请选择增加),在其中追加C:\j2sdk1.4.0\bin\;。重新启动机器
2、安装Resin-2.1.4
将下载的压缩包解压缩到一个合适的位置(假定是C:\resin-2.1.1)。运行C:\resin-2.1.1\bin\目录下的setup.exe,安装缺省值就可以了。
三、启动jsp应用服务器
C:\resin-2.1.1\bin\目录下的httpd.exe,就可以启动jsp服务器了。也可以把他作为windows2000的一个服务。具体办法是在命令行方式下执行
C:\resin-2.1.1\bin\httpd-install
重新启动机器(或者手工启动该服务)即可
四、测试:
在浏览器地址栏输入:http://localhost:8080/,如果出现Resin的缺省首页,就可以认为你的jsp环境已经建立了。
你可以进行进一步的测试。首先在C:\resin-2.1.1\doc\目录下建立一个Myjsp的目录,在其中建立一个index.jsp的文本文件用来测试。您可以使用以下代码:
在浏览器的地址栏输入:http://localhost:8080/Myjsp/
如果能正常显示,说明你的jsp环境(包括java环境)已经建立。
注:关于缺省的jsp根目录以及默认的起始文档,请参阅Resin的缺省首页
http://localhost:8080/,参考其中的说明编辑resin.conf文件。
(出处:CSDN)

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

Cloud storage has become an indispensable part of our daily life and work nowadays. As one of the leading cloud storage services in China, Baidu Netdisk has won the favor of a large number of users with its powerful storage functions, efficient transmission speed and convenient operation experience. And whether you want to back up important files, share information, watch videos online, or listen to music, Baidu Cloud Disk can meet your needs. However, many users may not understand the specific use method of Baidu Netdisk app, so this tutorial will introduce in detail how to use Baidu Netdisk app. Users who are still confused can follow this article to learn more. ! How to use Baidu Cloud Network Disk: 1. Installation First, when downloading and installing Baidu Cloud software, please select the custom installation option.

NetEase Mailbox, as an email address widely used by Chinese netizens, has always won the trust of users with its stable and efficient services. NetEase Mailbox Master is an email software specially created for mobile phone users. It greatly simplifies the process of sending and receiving emails and makes our email processing more convenient. So how to use NetEase Mailbox Master, and what specific functions it has. Below, the editor of this site will give you a detailed introduction, hoping to help you! First, you can search and download the NetEase Mailbox Master app in the mobile app store. Search for "NetEase Mailbox Master" in App Store or Baidu Mobile Assistant, and then follow the prompts to install it. After the download and installation is completed, we open the NetEase email account and log in. The login interface is as shown below

Understanding Linux Bashrc: Function, Configuration and Usage In Linux systems, Bashrc (BourneAgainShellruncommands) is a very important configuration file, which contains various commands and settings that are automatically run when the system starts. The Bashrc file is usually located in the user's home directory and is a hidden file. Its function is to customize the Bashshell environment for the user. 1. Bashrc function setting environment

MetaMask (also called Little Fox Wallet in Chinese) is a free and well-received encryption wallet software. Currently, BTCC supports binding to the MetaMask wallet. After binding, you can use the MetaMask wallet to quickly log in, store value, buy coins, etc., and you can also get 20 USDT trial bonus for the first time binding. In the BTCCMetaMask wallet tutorial, we will introduce in detail how to register and use MetaMask, and how to bind and use the Little Fox wallet in BTCC. What is MetaMask wallet? With over 30 million users, MetaMask Little Fox Wallet is one of the most popular cryptocurrency wallets today. It is free to use and can be installed on the network as an extension

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website
