Results 1 to 6 of 6

Thread: Install and configure JSP server on windows

  1. #1
    Join Date
    Feb 2010
    Posts
    154

    Install and configure JSP server on windows

    Hi all,

    I am a student from ohio university. I have a problem with JSP server from windows. I already know the installation process from Configure JSP Server on Red Hat Linux. But this process got some issue from windows. So i want to know that how to install and configure JSP server on windows. Please suggest. Thanks in advance.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Install and configure JSP server on windows

    To the SUN's official site (http://java.sun.com) Download J2SDK installation file: j2sdk-1_4_2_04-windows-i586-p.exe, download, after installed J2SDK; installed later, to set the environment variables: my computer > properties > Advanced > Environment variables; Select > System Variables (S): Then set JAVA_HOME environment variable:Click > New, in the variable name, type: JAVA_HOME, value in the variable type: D: \ Java (assuming J2SDK installed in the directory D: \ Java under anyway is the J2SDK installation directory.) And then > OK , this has been set up JAVA_HOME environment variable. Check and reply.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: Install and configure JSP server on windows

    You can also need to set CLASSPATH environment variable. For this:
    Click on New, enter the variable name: CLASSPATH. The variable value, type: D: \ Java \ bin;.; D: \ Java \ lib; D: \ Java \ lib \ dt.jar; D: \ Java \ lib \ tools.jar (the middle of the dot "." and the semicolon ";" indispensable.) and then > OK, this has been set up CLASSPATH environment variables. You can also Setting PATH environment variable : Click > New, in the variable name, type: PATH, in the variable value enter: D: \ Java;.; D: \ Java \ bin (the middle of the dot "." And the semicolon ";" must not be less.) and then >OK, this has been set up JAVA_HOME environment variable. After the three environment variables set up and write a simple java program to test whether the J2SDK installed successfully. All the best.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Install and configure JSP server on windows

    You need to also follow these procedure. In the D: \ a directory under the new test; and then write the following program:
    Code:
    public class Test (
    public static void main (String args []) (
    System.out.println ( "This is a test program.");
       } 
      }
    Above, this program will be saved as a file named Test.java file, save in the directory D: \ test next. Then open a command prompt window, cd to your test directory, and then type the following command
    Code:
    javac Test.java
    java Test
    If you see a print out at this time This is a test program. If the instructions to install is successful, if not print out this sentence, you need to carefully check your configuration. If the above J2SDK installation is successful, then continue to install Tomcat. Best of luck.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    Install and configure JSP server on windows

    You need to also install Tomcat for running JSP. To the tomcat's official site (http://www.apache.org/dist/jakarta/tomcat-4/) Download tomcat: jakarta-tomcat-4.1.30.exe, installed after downloading. (For example, installed in D: \ Tomcat under.) After the installation, set the environment variables: my computer > properties >Advanced > Environment variables. Select > System Variables (S). Check and reply if you need more information.

  6. #6
    Join Date
    Apr 2008
    Posts
    2,005

    Install and configure JSP server on windows

    You need to set CATALINA_HOME environment variable:Just Click> New, type in the variable name: CATALINA_HOME, in the variable value enter: D: \ Tomcat, and then --- OK, this has been set up CATALINA_HOME environment variable. Setting CATALINA_BASE environment variable: Click >New, in the variable name, type: CATALINA_BASE. In the variable value enter: D: \ Tomcat, and then >OK, this has been set up CATALINA_BASE environment variable. And then modify the environment variable CLASSPATH, the Tomat installation directory under the common \ lib under the servlet.jar to the CLASSPATH in additional to, Modified CLASSPATH as follows:
    Code:
    CLASSPATH = D: \ Java \ bin;.; D: \ Java \ lib; D: \ Java \ lib \ dt.jar; D: \ Java \ lib \ tools.jar; D: \ Tomcat \ common \ lib \ servlet . jar
    Then you can start tomcat, in the IE to access http://localhost:8080, If you see a tomcat welcome page, then the instructions to install a success. All the best.

Similar Threads

  1. How to configure or install sql server on app-v
    By Harri.Son in forum Windows Software
    Replies: 5
    Last Post: 27-04-2012, 01:43 PM
  2. How to configure NAP in Windows Server 2008
    By Abigail101 in forum Operating Systems
    Replies: 5
    Last Post: 25-02-2010, 01:15 AM
  3. How to Install and Configure DHCP Server in Ubuntu Server
    By Anirvinya in forum Operating Systems
    Replies: 5
    Last Post: 10-02-2010, 04:29 AM
  4. How to install and configure FTP Server on Windows Server 2003
    By Computer_Freak in forum Tips & Tweaks
    Replies: 1
    Last Post: 03-08-2009, 07:15 PM
  5. Configure Redundant DNS Server Windows Server 2003
    By Wackamo in forum Windows Server Help
    Replies: 3
    Last Post: 14-09-2007, 06:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,708,956.78483 seconds with 17 queries