To Set JSP environment
For setting the JSP environment you should have a JDK(Java Development Kit).
A D V E R T I S E M E N T
Setting up the JSP
Download the latest JDK from the following URL:
Install through the setup.
One of the main problems of new Java developers have is setting the PATH and
For Windows 95/98/ME you edit the AUTOEXEC.BAT file with the new PATH and
set the path and reboot your machine.
For Windows 2000/XP you edit the environment variables.
(Control Panel -> System -> Environment Variables).
Read the installation instructions properly as it may change with future
releases. What you do is add the location of java's bin folder to the Path
variable and the classes you want in the CLASSPATH variable
For Tomcat setup
To download Tomcat (current version 5.),go to the following URL:
Unzip the file into a directory and set an environment variable TOMCAT_HOME to
your main Tomcat directory:
To start the server change to the tomcat\bin directory and type:
Open a web browser and in the address box type:
http://localhost:8080/ - this displays the example page.
Place any new JSP files in the "webapps" directory under your installed Tomcat
For example,to run "first.jsp" file,copy the file into the "webapps/ROOT"
directory and then open a browser to the address:
This will show you the executed JSP file.
Be the first one to comment on this page.
Keywords: jsp tutorial,
© 1999-2007 VisualBuilder.com - This article has been adapted from VisualBuilder.com.