Apache one, prepare (try to find the following version of the package, because the other package I did not test):
Because the Internet is easy to find, so do not mention the same download address.
Apache_2.0.48-win32-x86-no_ssl.exe
Jdk1.4_03.exe
Jakarta-tomcat-5.0.16.exe
Mod_jk1.2.4.dll (this dongdong is not easy to find, so I bring you one.) Download
Second, installation:
1, installation (for the convenience of the description, the following is my own installation directory)
APACHE (C:\Program Files\apach2),
JDK (d:\myweb\jdk1.4),
TOMCAT (C:\Program Files\tomcat).
All the way to install, there is no other setting.
4, set Tomcat.
Copy the mod_jk.conf to the $tomcat_home/conf.
Copy the workers.properties to the $tomcat_home/conf.
Note: The extensions for the two files above. Apache Port 80,tomcat Port 8080.
5, set up the virtual directory (for easy to use).
Create a folder D:\jsptest
Open $apache_home/conf/httpd.conf
Add the following:
Alias/jsptest "D:\jsptest"
<directory "D:\jsptest" >
Options Indexes followsymlinks MultiViews
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
Open $tomcat_home/conf/server.xml
Add the following before
<context path= "/jsptest" docbase= "d:/jsptest" debug= "0"/>
And then restart Apache and tomcat!.
6, Testing:
test.jsp Copy to D:/jsptest
http://jerry/jsptest/test.jsp
(Jerry is the name of my computer, you use your computer name instead.) localhost as if not, who if modified with localhost can write to tell me ah ^_^ join2002at163.com:at=@)
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