Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

JSP Environment Setup

By Exforsys | on April 27, 2007 |
JSP Tutorials

Steps for Setting JSP Environment

In this JSP tutorial, you will learn the steps for setting JSP environment in Microsoft Windows, setting the PATH and CLASSPATH, steps for downloading and installing the Tomcat web server.

The Java Server Page or JSP is very affordable as most of the software needed for it is easily available for free or at low cost.

  • The Java Developer Kit which is available for free
  • The Tomcat web server if used is available for free.
  • HTML editor would be needed to purchase.

How to set up the JSP Environment in Microsoft Windows:

There are slight differences between operating systems for the JSP Environment’s set up in Windows but below are the basic steps.

First Step:

The first and foremost step before setting up the JSP environment is to verify the presence of Java Developer Kit or JDK on the programmer’s system. If it is not present, the Java Developer Kit or JDK must be downloaded and installed.

This link provides the JDK download:

http://java.sun.com/j2ee/download.html

or

http://java.sun.com/javase/downloads/index.jsp

This link provides the latest Windows Platform version of Java SDK.

Second Step:

After the download, the next step is to run the executable setup, or the exe, and follow the prompted instructions on screen.

Third Step:

Setting the PATH and CLASSPATH:

The third step is to set the PATH and CLASSPATH. In Windows 95 or Windows 98, edit the AUTOEXEC.BAT file. In this file, the user has to add the directory <JDK installation directory>bin to the PATH setting in the autoexec.bat file. The above sets the new PATH. Set the CLASSPATH in a similar manner by adding the path <JDK installation directory>libj2ee.jar to the CLASSPATH setting in the autoexec.bat file. The above steps define new PATH and CLASSPATH settings.

If the system is Windows 2000 or Windows XP, edit the environment variables to set the PATH and CLASSPATH settings. The environment variables are accessed by navigating as follows:

Control Panel -> System -> Environment Variables

Repeat the same procedure to set new PATH and CLASSPATH settings.

Fourth Step:

The machine must be rebooted to enable the new settings.

Fifth Step:

The JSP environments can be download here

http://java.sun.com/products/jsp/index.jsp.

Sixth Step:

The next major step is to download and install the Tomcat web server. This is needed if the programmer does not possess a JSP-capable web server installed on their machine. Tomcat, developed by Apache, is a free open source JSP and Servlet engine.

Steps for downloading and installing the Tomcat web server:

(1) http://jakarta.apache.org/ download the latest version of Tomcat.

(2) Unzip the downloaded Tomcat zip files, and any files present in the subdirectories that have been placed in a single directory, if any.

(3) Open the file autoexec.bat file to the entry:

SET TOMCAT_HOME=<directory>

Where the directory mentioned above would be the directory into which the contents of the .zip file were extracted.

If the directory created by the user was exforsys , all the contents of the .zip file were extracted then the user make an entry in autoexec.bat file as follows:

SET TOMCAT_HOME=c:exforsys

The above process is only for Windows 95 or Windows 98. If using Windows 2000 or Windows XP, the environment variable TOMCAT_HOME can be set as the directory in:

c:exforsys

(4) The next step is to change the server. Navigate to exforsysbin as seen in the examples above and type startup.

(5) The system reboots and opens the web browser. The user types in the address box:

http://localhost:8080/

(6) The JSP files written by the user are placed in "webapps" directory, inside the created directory exforsys, using the above example. Using the JSP file, example.jsp, this copies into webapps/ROOT directory. Open the web browser and type in the address box

http://localhost:8080/example.jsp

displays the executed JSP file.

« « How Web 2.0 Will Change The Internet
JSP Page Directive » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • JSP Tags

    April 27, 2007 - 0 Comment
  • JSP Application Object

    May 5, 2007 - 0 Comment
  • JSP Directives

    April 27, 2007 - 0 Comment
  • JSP Page Directive

    April 28, 2007 - 0 Comment
  • JSP Directive Tag and Scriptlet tag

    April 28, 2007 - 0 Comment
  • Sell CC Fresh Visa,MasterCard,American Express,Discover All Country

    May 3, 2007 - 0 Comment
  • JSP Request Object

    May 7, 2007 - 0 Comment
  • JSP Implicit and Session Objects

    May 4, 2007 - 0 Comment
  • JSP Response Object

    May 8, 2007 - 0 Comment
  • JSP Architecture

    April 29, 2007 - 0 Comment
  • Working with JSP Sessions

    April 18, 2010 - 0 Comment
  • JSP Response Object

    May 8, 2007 - 0 Comment
  • JSP Request Object

    May 7, 2007 - 0 Comment
  • JSP Out Object

    May 5, 2007 - 0 Comment
  • JSP Application Object

    May 5, 2007 - 0 Comment
  • JSP Implicit and Session Objects

    May 4, 2007 - 0 Comment
  • Sell CC Fresh Visa,MasterCard,American Express,Discover All Country

    May 3, 2007 - 0 Comment
  • JSP Architecture

    April 29, 2007 - 0 Comment
  • JSP Page Directive

    April 28, 2007 - 0 Comment
  • JSP Directive Tag and Scriptlet tag

    April 28, 2007 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • Working with JSP Sessions
  • JSP Response Object
  • JSP Request Object
  • JSP Out Object
  • JSP Application Object

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT