Download and install jre and jdk
From here: http://java.com/en/download/index.jsp
--------------------------------------------------------
Download and install Apache Tomcat by give must proper port no as 8080 or as you like no
and username and password while installing
from here: http://tomcat.apache.org/download-70.cgi
--------------------------------------------------------
After Completion of installation
you must have to set environment for Apache Tomcate
STEP 1:
Right click on MY COMPUTER icon
Click on PROPERTIES
select ADVANCE TAB
Click on Environment variable
STEP 2:
Click on NEW in System variable tab
in VARIABLE NAME : CLASSPATH
VARIABLE VALUE : C:\Program Files\Apache Software Foundation\
Tomcat 7.0\lib\servlet-api.jar;
as per shown in below image.
after that set click on NEW button and set JAVA_HOME as per shown in below image
in VARIABLE NAME : JAVA_HOME
VARIABLE VALUE :C:\Program Files\Java\jdk1.7.0_51
after that set click on NEW button and set PATH as per shown in below image
in VARIABLE NAME : PATH
VARIABLE VALUE : C:\Program Files\Java\jdk1.7.0_51\bin;
now go to cmd and check java and javac command that works properly or not .
now start Apache tomcat Service and open browser and
goto to localhost
enjoy servlet and jsp programm........
Thanks you.........!!!!!
From here: http://java.com/en/download/index.jsp
--------------------------------------------------------
Download and install Apache Tomcat by give must proper port no as 8080 or as you like no
and username and password while installing
from here: http://tomcat.apache.org/download-70.cgi
--------------------------------------------------------
After Completion of installation
you must have to set environment for Apache Tomcate
STEP 1:
Right click on MY COMPUTER icon
Click on PROPERTIES
select ADVANCE TAB
Click on Environment variable
STEP 2:
Click on NEW in System variable tab
in VARIABLE NAME : CLASSPATH
VARIABLE VALUE : C:\Program Files\Apache Software Foundation\
Tomcat 7.0\lib\servlet-api.jar;
as per shown in below image.
after that set click on NEW button and set JAVA_HOME as per shown in below image
in VARIABLE NAME : JAVA_HOME
VARIABLE VALUE :C:\Program Files\Java\jdk1.7.0_51
after that set click on NEW button and set PATH as per shown in below image
in VARIABLE NAME : PATH
VARIABLE VALUE : C:\Program Files\Java\jdk1.7.0_51\bin;
now go to cmd and check java and javac command that works properly or not .
now start Apache tomcat Service and open browser and
goto to localhost
enjoy servlet and jsp programm........
Thanks you.........!!!!!
No comments:
Post a Comment