Java Web entry Testing Program (jsp)
Introduction Test applet for jsp program development
(1) required tools and software java Development Kit jdk
You need to set environment variables. Anyone with Java Development basics can understand this step!
(2) install MyEclipse
<喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + o6gzo6mwstewd2Vit/forward + CjxwPjxpbWcgc3JjPQ = "http://www.2cto.com/uploadfile/Collfiles/20141205/20141205083908128.png" alt = "\">
(4) Open MyEclipse and click preference under window in MyEclipse. Shows how to select tomcat in MyEclipse.
This is to associate tomcat with MyEclipse.
(5) The environment is ready. Now, start to create a web project.
Click File-> New-> Project-> webproject to create a Project named web.
(6) Click "WEbroot" in the project directory to create a jsp file, as shown in.
(7) Name Myjsp. jsp, as shown in
(8) Click this button in MyEclipse and select the web Project, as shown below!
A simple web project is ready! You can execute it on tomcat! This is the execution result
On this basis, I am going to create a jsp application applet for Division operations,
This is the project directory and running process.