JSP Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
JSP Tutorial
Introduction Introduction
Installing JDK-Windows Installing JDK-Windows
Installing JDK-Linux Installing JDK-Linux
Installing Tomcat Installing Tomcat
Simple Program in JSP Simple Program in JSP
Pre-defined Variables Pre-defined Variables
Syntax of Tags Syntax of Tags
JSP Expression Language JSP Expression Language
JSP EL Operators JSP EL Operators
EL Implicit Variables EL Implicit Variables
Scopes Scopes
Using Arrays Using Arrays
Methods Methods
JSP Elements JSP Elements
Including Beans Including Beans
JSTL Tags JSTL Tags
Custom Tags Custom Tags
Session Session in JSP
Handling Cookies Handling Cookies
JSP Application Structure JSP Application Structure
Configuring web.xml Configuring web.xml
Tomcat Configuration Tomcat Configuration
JSP Examples JSP Examples
Forums Ask Your Doubts
Feedback Feedback
 






outsourced web hosting support

Installing Tomcat in Windows / Linux


Tutorials Jsp

Topic

How to install Tomcat in Windows / Linux?




Explanation
Installing Tomcat on Windows:
  • Download the binary distribution of the Tomcat Server 6.0 from http://tomcat.apache.org.
  • Usually this would be a zip file, unzip the file just run the executable file.
  • Specify the location to be installed
  • Provide the Port number, Admin Username, Password
  • Specify the path where JRE is installed
  • After installing the tomcat server, the CATILINA_HOME environment variable should be set to point the Tomcat installation directory.
  • C:\Jakarta> set CATALINA_HOME=C:\Jakarta\jakarta-tomcat-5.0.12
Installing Tomcat on Linux:
  • Download the jakarta-tomcat-5.0.12.tar.gz file for the instance to /usr/local
  • If GNU tar is not installed use the following command
  • gunzip -c jakarta-tomcat-5.0.12 | tar xvf
  • This will create a directory with sub directories.
  • Now unpack the file with following commands.
  • cd /usr/local
  • tar xzvf jakarta-tomcat-5.0.12.tar.gz.
  • Now set the CATALINA_HOME environment variable to point to the installed directory.
  • export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.12.
  • To start the server in background use- ./startup.sh

After the installation is completed, run tomcat server. If tomcat is installed properly, by typing "http://localhost:8080" in your bowser you will get the screen as below.






A Note
JSP(Java Server Pages) is one of the most used Server Side Programming Language in the world. Simple introduction, basic program codes with examples. Begin coding your own JSP scripts with this online tutorial. Hope you enjoy this tutorial. Do send your feedback or suggestions on this JavaServer Pages tutorial. This is a copyright content.


Other Links

web hosting