Setting up Windows for Java servlets and jsp technology 1)down load Java SDK and install it from http://java.sun.com/j2se/1.5.0/download.jsp only need the JDK 5.0 2)download the jar files for the servlets and jsp apis, they are not part of the JDK go to http://java.sun.com/products/servlet/download.html download Java Servlet Final Release 2.3 in zip format unzip the javax directory into directory:

fortunabrontideInternet and Web Development

Nov 13, 2013 (4 years and 11 months ago)

116 views

Setting up Windows for Java servlets and jsp technology

1)

down load Java SDK and install it from

http://java.sun.com/j2se/1.5.0/download.jsp

only need the JDK 5.0

2)

download the jar files for the s
ervlets and jsp apis, they are not part of the JDK

go to
http://java.sun.com/products/servlet/download.html

download Java Servlet Final Release 2.3 in zip format

unzip the javax directory
into directory:

C:
\
Program Files
\
Java
\
jdk1.5.0_05
\
lib

the default directory for j2se

3)

add to the path environment string
C:
\
Pr
ogram Files
\
Java
\
jdk1.5.0_05
\
bin

add to the environment CLASSPATH

with value:
C:
\
Program Files
\
Java
\
jdk1.5.0_05
\
lib

these are set
up in Start
-
>My Computer(right Click)
-
>Properties
-
>Advanced(tab)

-
>Environment Variables(button); upper window click new add to variable
name text box CLASSPATH and to variable value text box

C:
\
Program Files
\
Java
\
jdk1.5.0_05
\
lib

then click OK



In lower window find PATH and click the Edit button, to the end of the


value string add ;

C:
\
Pr
ogram Files
\
Java
\
jdk1.5.0_05
\
bin

4)

Down
load Tom Cat from
http://tomcat
.apache.org/download
-
55.cgi
, the exe file

for Windows from the core Binary Distribution and the source code distribution
files in zip format; run the exe installer and change the port number to 8000, and
select to install the sample files.

Unzip the sourc
e files and copy
only the webapps
folder in
apache
-
tomcat
-
5.5.16

to
C:
\
Program Files
\
Apache Software Foundation
\
Tomcat 5.5
, this is done to fix
problems with the jsp
-
examples and servlets
-
examples sample files that are
installed by the exe file.