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 JDK in Windows


Tutorials Jsp

Topic

How to install JDK in Windows?




Explanation

JDK or Java Development Kit is a combination of software, tools required to compile, debug, and run applets and applications written using Java language.

Installing JDK on Windows:
  • To use JSP one needs to install Java SDK also known as JDK which has a Java Compiler.
  • To Download Java SDK visit "http://java.sun.com/javase/downloads", choose the platform in which you want to install from windows, solaris, linux and install the JDK.
  • Before running the Tomcat Server we need to check whether the Java environment variable is set.
  • On a windows system, set the JAVA_HOME variable to the installed directory of JDK, as below.
  • And, set the PATH variable to the bin directory of JDK, from the command prompt as below.
  • C:\> set JAVA_HOME=C:\ jdk1.6.0_07
  • C:\> set PATH=%JAVA_HOME%\bin; %PATH%
  • This can be checked by typing the following command in the command prompt.
  • C:\>echo %JAVA_HOME%
  • C:\> jdk1.6.0_07
  • C:\> echo %PATH%
  • C:\>Program Files\Java\jdk1.6.0_07
  • Path variables can also be set using the following steps.
  • Just Right Click "My Computer->Properties->Advanced"
  • Click on "Environment Variables" set the new "path", "classpath" variables.



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