Servertec   Add-ons
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Samples
Sales
Legal
Feedback

 

Select a product:
GNUJSP
Instant ASP (iASP)
iScript
Jakarta Tomcat Jasper
Java Secure Socket Extension (JSSE)
JavaServer Web Development Kit (JSWDK)
Perl
SJSP

GNUJSP

GNUJSP is a free implementation of Sun's Java Server Pages (JSP).

Site

http://klomp.org/gnujsp

Contact

Vincent Partington - GNUJSP 0.9.10
Yaroslav Faybishenko - GNUJSP 1.0.0

License

Open Source: GNU General Public License

Notes

GNUJSP 1.0.0 throws the following exceptions when using Java 1.1.x.

java.lang.IllegalAccessError:
    Unimplemented interface method
at org.gjt.jsp.JspServlet.getJspServletConfig(Compiled Code)

java.lang.IncompatibleClassChangeError:
    Unimplemented interface method
at org.gjt.jsp.JspServlet.access$3(JspServlet.java)
The above exceptions do not occur when using the latest snapshot of GNUJSP, gnujsp10cvs-snap-20000518-1438.jar, found at GNUJSP Snapshots.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure GNUJSP and iServer on Windows 9x/NT.
  1. Install iServer and GNUJSP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Create a directory to contain the generated Java and Class files.

    cd iws_dir
    md jsp

    iws_dir the directory where iServer was deployed.

  4. Using iServer Administrator add the following Servlet:

    GNUJSP 0.9.10
    Alias: GNUJSP
    Class File: org.gjt.jsp.JSPServlet
    Parameters: repository=iws_dir/jsp

    GNUJSP 1.0.0
    Alias: GNUJSP
    Class File: org.gjt.jsp.JspServlet
    Parameters: scratchdir=iws_dir/jsp

    iws_dir the directory where iServer was deployed.

  5. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: gnujsp_dir/examples

    Alias: .jsp
    Type: Filter
    Resource: GNUJSP

    gnujsp_dir the directory where GNUJSP was installed.

  6. Add GNUJSP to the CLASSPATH.

    set CLASSPATH=iws_dir\jsp;%CLASSPATH%

    GNUJSP 0.9.10
    set CLASSPATH=gnujsp_dir\lib\gnujsp.jar;%CLASSPATH%

    GNUJSP 1.0.0
    set CLASSPATH=gnujsp_dir\lib\gnujsp10.jar;%CLASSPATH%

    gnujsp_dir the directory where GNUJSP was installed.
    iws_dir the directory where iServer was deployed.

  7. Reboot the computer.

  8. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  9. Start a Web Browser and enter the following URL:

    protocol://host_name:port/examples/date.jsp

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure GNUJSP and iServer on Linux/Unix.
  1. Install iServer and GNUJSP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Create a directory to contain the generated Java and Class files.

    cd iws_dir
    mkdir jsp

    iws_dir the directory where iServer was deployed.

  4. Using iServer Administrator add the following Servlet:

    GNUJSP 0.9.10
    Alias: GNUJSP
    Class File: org.gjt.jsp.JSPServlet
    Parameters: repository=iws_dir/jsp

    GNUJSP 1.0.0
    Alias: GNUJSP
    Class File: org.gjt.jsp.JspServlet
    Parameters: scratchdir=iws_dir/jsp

    iws_dir the directory where iServer was deployed.

  5. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: gnujsp_dir/examples

    Alias: .jsp
    Type: Filter
    Resource: GNUJSP

    gnujsp_dir the directory where GNUJSP was installed.

  6. Add GNUJSP to the CLASSPATH.

    export CLASSPATH="iws_dir/jsp:${CLASSPATH}"

    GNUJSP 0.9.10
    export CLASSPATH="gnujsp_dir/lib/gnujsp.jar:${CLASSPATH}"

    GNUJSP 1.0.0
    export CLASSPATH="gnujsp_dir/lib/gnujsp10.jar:${CLASSPATH}"

    gnujsp_dir the directory where GNUJSP was installed.
    iws_dir the directory where iServer was deployed.

  7. Reboot the computer.

  8. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  9. Start a Web Browser and enter the following URL:

    protocol://host_name:port/examples/date.jsp

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page

Instant ASP

iASP allows developers to write ASP (Active Server Pages)-based Web applications "once" and run them anywhere. Server Pages (ASP).

Site

http://www.halcyonsoft.com

Contact

Halcyon Software

License

Commercial

Notes

iASP 1.0.2 does not work with iServer when using JDK/JRE version 1.2.2.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure iASP and iServer on Windows 9x/NT.
  1. Install iServer and iASP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Using iServer Administrator add the following Servlet:

    Alias: IASP
    Class File: jhost.jaspservlet.jaspServlet
    Parameters:

  4. Using iServer Administrator add the following Servlets:

    Alias: /iasp
    Type: File
    Resource: iasp_dir

    Alias: /jaspServlet
    Type: Servlet
    Resource: IASP

    Alias: .asp
    Type: Filter
    Resource: IASP

    iasp_dir the directory where iASP was installed.

  5. Add iASP to the CLASSPATH.

    set CLASSPATH=iasp_dir\lib\iasplib.jar;%CLASSPATH%
    set CLASSPATH=iasp_dir\lib;%CLASSPATH%
    set CLASSPATH=iasp_dir\lib\classes;%CLASSPATH%

    iasp_dir the directory where iASP was installed.

  6. Reboot the computer.

  7. Run iASP.

    cd iasp_dir
    start-server

    iasp_dir the directory where iASP was installed.

  8. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  9. Start a Web Browser and enter the following URL:

    protocol://host_name:port/iasp/docs

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure iASP and iServer on Linux/Unix.
  1. Install iServer and iASP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Using iServer Administrator add the following Servlets:

    Alias: IASP
    Class File: jhost.jaspservlet.jaspServlet
    Parameters:

  4. Using iServer Administrator add the following Aliases:

    Alias: /iasp
    Type: File
    Resource: iasp_dir

    Alias: /jaspServlet
    Type: Servlet
    Resource: IASP

    Alias: .asp
    Type: Filter
    Resource: IASP

    iasp_dir the directory where iASP was installed.

  5. Add iASP to the CLASSPATH.

    export CLASSPATH="iasp_dir/lib/iasplib.jar:${CLASSPATH}"
    export CLASSPATH="iasp_dir/lib:${CLASSPATH}"
    export CLASSPATH="iasp_dir/lib/classes:${CLASSPATH}"

    iasp_dir the directory where iASP was installed.

  6. Reboot the computer.

  7. Run iASP.

    cd iasp_dir
    ./start-server.sh

    iasp_dir the directory where iASP was installed.

  8. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  9. Start a Web Browser and enter the following URL:

    protocol://host_name:port/iasp/docs

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page

iScript

iScript is a platform independent scripting language written entirely in Java for creating scalable server side object oriented n-Tier enterprise solutions.

Site

http://www.servertec.com/iscript/iscript.html

Contact

Servertec

License

Commercial

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure iScript and iServer on Windows 9x/NT.
  1. Install iServer and iScript.

  2. Using iServer Administrator add the following Servlet:

    Alias: iScriptServlet
    Class File: stec.ss.iScriptiServerServlet
    Parameters: basedir=base_dir

    base_dir the base directory, normally c:.

  3. Using iServer Administrator add the following Aliases:

    Alias: /ss
    Type: File
    Resource: iscript_dir

    Alias: .ctf
    Type: Filter
    Resource: iScriptServlet

    iscript_dir the directory where iScript was installed.

  4. Add iScript to the CLASSPATH.

    set CLASSPATH=iscript_dir\classes\iscript.jar;%CLASSPATH%

    iscript_dir the directory where iScript was installed.

  5. Reboot the computer.

  6. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  7. Start a Web Browser and enter the following URL:

    protocol://host_name:port/ss/samples/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure iScript and iServer on Linux/Unix.
  1. Install iServer and iScript.

  2. Using iServer Administrator add the following Servlet:

    Alias: iScriptServlet
    Class File: stec.ss.iScriptiServerServlet
    Parameters: basedir=base_dir

    base_dir the base directory, normally /.

  3. Using iServer Administrator add the following Aliases:

    Alias: /ss
    Type: File
    Resource: iscript_dir

    Alias: .ctf
    Type: Filter
    Resource: iScriptServlet

    iscript_dir the directory where iScript was installed.

  4. Add iScript to the CLASSPATH.

    export CLASSPATH="iscript_dir/classes/iscript.jar:${CLASSPATH}"

    iscript_dir the directory where iScript was installed.

  5. Reboot the computer.

  6. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  7. Start a Web Browser and enter the following URL:

    protocol://host_name:port/ss/samples/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page

Jakarta Tomcat Jasper

Tomcat is the Reference Implementation for the Java Servlet 2.2 and JavaServer Pages 1.1 Technologies.

Site

http://jakarta.apache.org/tomcat/index.html

Contact

webmaster@jakarta.apache.org

License

Open Source: Apache Project Software License

Notes

Help will not be available from the Administrator since the Alias for /docs will be removed.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure Jakarta Tomcat Jasper and iServer on Windows 9x/NT.
  1. Install iServer and Jakarta Tomcat.

  2. Change uri="http://java.apache.org/tomcat/examples-taglib" to uri="/tomcat/example-taglib.tld" in:

    jakarta_dir\webapps\examples\jsp\source.jsp
    jakarta_dir\webapps\examples\jsp\simpletag\foo.jsp
    jakarta_dir\webapps\examples\jsp\simpletag\foo.txt

    jakarta_dir the directory where Jakarta Tomcat was installed.

  3. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  4. Using the iServer Administrator select Manage->Hosts set * to:

    Hostname: *
    Root Directory: jakarta_dir/webapps/root

    jakarta_dir the directory where Jakarta Tomcat was installed.

  5. Using iServer Administrator add the following Servlets:

    Alias: Jasper
    Class File: org.apache.jasper.runtime.JspServlet
    Parameters:

    Alias: InvokerServlet
    Class File: stec.iws.InvokerServlet
    Parameters:

    Alias: snoop
    Class File: SnoopServlet
    Parameters: initarg1=foo
    Parameters: initarg2=bar

    Alias: servletToJsp
    Class File: servletToJsp
    Parameters:

    Alias: servlet1
    Class File: requestMap.Servlet1
    Parameters:

    Alias: servlet2
    Class File: requestMap.Servlet2
    Parameters:

    Alias: servlet3
    Class File: requestMap.Servlet3
    Parameters:

    Alias: servlet4
    Class File: requestMap.Servlet4
    Parameters:

    Alias: servletParam1
    Class File: ServletParam
    Parameters: param1=value1
    Parameters: param2=value2

    Alias: servletParam2
    Class File: ServletParam
    Parameters: param3=value3
    Parameters: param4=value4

  6. Using iServer Administrator remove /docs Alias.

  7. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: jakarta_dir/webapps/examples

    Alias: /examples/servlet
    Type: Servlet
    Resource: InvokerServlet

    Alias: /jsp
    Type: File
    Resource: jakarta_dir/webapps/examples/jsp

    Alias: /test
    Type: File
    Resource: jakarta_dir/webapps/test

    Alias: /tomcat
    Type: File
    Resource: jakarta_dir/webapps/examples/WEB-INF/jsp

    Alias: /servletToJsp
    Type: Servlet
    Resource: servletToJsp

    Alias: /foo/bar
    Type: Servlet
    Resource: servlet1

    Alias: /baz
    Type: Servlet
    Resource: servlet2

    Alias: /catalog
    Type: Servlet
    Resource: servlet3

    Alias: /snoop.html
    Type: Servlet
    Resource: snoop

    Alias: .snp
    Type: Filter
    Resource: snoop

    Alias: .bop
    Type: Filter
    Resource: servlet4

    Alias: .jsp
    Type: Filter
    Resource: Jasper

    jakarta_dir the directory where Jakarta Tomcat was installed.

  8. Add Jakarta Tomcat to the CLASSPATH.

    set CLASSPATH=iws_dir\classes\logger.jar;%CLASSPATH%
    set CLASSPATH=jakarta_dir\lib\servlet.jar;%CLASSPATH%
    set CLASSPATH=jakarta_dir\lib\jasper.jar;%CLASSPATH%
    set CLASSPATH=jakarta_dir\lib\xml.jar;%CLASSPATH%
    set CLASSPATH=jakarta_dir\webapps\examples\WEB-INF\classes;
    %CLASSPATH%

    set CLASSPATH=jakarta_dir\webapps\examples\WEB-INF\jsp;
    %CLASSPATH%

    set CLASSPATH=jakarta_dir\webapps\test\WEB-INF\classes;
    %CLASSPATH%

    set CLASSPATH=jakarta_dir\webapps\ROOT\WEB-INF\classes;
    %CLASSPATH%

    iws_dir the directory where iServer was installed.
    jakarta_dir the directory where Jakarta Tomcat was installed.

  9. Reboot the computer.

  10. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  11. Start a Web Browser and enter the following URL:

    protocol://host_name:port/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure Jakarta Tomcat Jasper and iServer on Linux/Unix.
  1. Install iServer and Jakarta Tomcat.

  2. Change uri="http://java.apache.org/tomcat/examples-taglib" to uri="/tomcat/example-taglib.tld" in:

    jakarta_dir/webapps/examples/jsp/source.jsp
    jakarta_dir/webapps/examples/jsp/simpletag/foo.jsp
    jakarta_dir/webapps/examples/jsp/simpletag/foo.txt

    jakarta_dir the directory where Jakarta Tomcat was installed.

  3. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  4. Using the iServer Administrator select Manage->Hosts set * to:

    Hostname: *
    Root Directory: jakarta_dir/webapps/root

    jakarta_dir the directory where Jakarta Tomcat was installed.

  5. Using iServer Administrator add the following Servlets:

    Alias: Jasper
    Class File: org.apache.jasper.runtime.JspServlet
    Parameters:

    Alias: InvokerServlet
    Class File: stec.iws.InvokerServlet
    Parameters:

    Alias: snoop
    Class File: SnoopServlet
    Parameters: initarg1=foo
    Parameters: initarg2=bar

    Alias: servletToJsp
    Class File: servletToJsp
    Parameters:

    Alias: servlet1
    Class File: requestMap.Servlet1
    Parameters:

    Alias: servlet2
    Class File: requestMap.Servlet2
    Parameters:

    Alias: servlet3
    Class File: requestMap.Servlet3
    Parameters:

    Alias: servlet4
    Class File: requestMap.Servlet4
    Parameters:

    Alias: servletParam1
    Class File: ServletParam
    Parameters: param1=value1
    Parameters: param2=value2

    Alias: servletParam2
    Class File: ServletParam
    Parameters: param3=value3
    Parameters: param4=value4

  6. Using iServer Administrator remove /docs Alias.

  7. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: jakarta_dir/webapps/examples

    Alias: /examples/servlet
    Type: Servlet
    Resource: InvokerServlet

    Alias: /jsp
    Type: File
    Resource: jakarta_dir/webapps/examples/jsp

    Alias: /test
    Type: File
    Resource: jakarta_dir/webapps/test

    Alias: /tomcat
    Type: File
    Resource: jakarta_dir/webapps/examples/WEB-INF/jsp

    Alias: /servletToJsp
    Type: Servlet
    Resource: servletToJsp

    Alias: /foo/bar
    Type: Servlet
    Resource: servlet1

    Alias: /baz
    Type: Servlet
    Resource: servlet2

    Alias: /catalog
    Type: Servlet
    Resource: servlet3

    Alias: /snoop.html
    Type: Servlet
    Resource: snoop

    Alias: .snp
    Type: Filter
    Resource: snoop

    Alias: .bop
    Type: Filter
    Resource: servlet4

    Alias: .jsp
    Type: Filter
    Resource: Jasper

    jakarta_dir the directory where Jakarta Tomcat was installed.

  8. Add Jakarta Tomcat to the CLASSPATH.

    export CLASSPATH="iws_dir/classes/logger.jar:${CLASSPATH}"
    export CLASSPATH="iws_dir/classes/servlet.jar:${CLASSPATH}"
    export CLASSPATH="jakarta_dir/lib/jasper.jar:${CLASSPATH}"
    export CLASSPATH="jakarta_dir/lib/xml.jar:${CLASSPATH}"
    export CLASSPATH="jakarta_dir/webapps/examples/WEB-INF/classes:
    ${CLASSPATH}"

    export CLASSPATH="jakarta_dir/webapps/examples/WEB-INF/jsp:
    ${CLASSPATH}"

    export CLASSPATH="jakarta_dir/webapps/test/WEB-INF/classes:
    ${CLASSPATH}"

    export CLASSPATH="jakarta_dir/webapps/ROOT/WEB-INF/classes:
    ${CLASSPATH}"

    iws_dir the directory where iServer was installed.
    jakarta_dir the directory where Jakarta Tomcat was installed.

  9. Reboot the computer.

  10. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  11. Start a Web Browser and enter the following URL:

    protocol://host_name:port/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page

Java Secure Socket Extension (JSSE)

JSSE implements Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. It includes functionality for data encryption, server authentication, message integrity and client authentication.

Site

http://java.sun.com/products/jsse/index.html

Contact

None

License

Commercial: Free

Notes

iServer ships with JSSE 1.0.1 Export Edition. Optionally iServer supports JSSE 1.0.1 Domestic Edition which supports stronger encryption.

The following instructions are for installing and configuring JSSE Domestic Edition.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure JSSE and iServer on Windows 9x/NT.
  1. Install iServer and JSSE.

    When installing JSSE extract the distribution, but do not follow the included instructions for installing and configuring JSSE.

  2. Replace existing JAR files

    copy jsse_dir\lib\*.jar iws_dir\classes

    iws_dir the directory where iServer was installed, normally c:\iws.
    jsse_dir the directory where JSSE was installed.

top of page
Use the instructions below to configure JSSE and iServer on Linux/Unix.
  1. Install iServer and JSSE.

    When installing JSSE extract the distribution, but do not follow the included instructions for installing and configuring JSSE.

  2. Replace existing JAR files

    cp jsse_dir/lib/*jar iws_dir/classes

    iws_dir the directory where iServer was installed, normally /iws.
    jsse_dir the directory where JSSE was installed.

top of page

JavaServer Web Development Kit (JSWDK)

Combines the reference implementation of JavaServer Pages 1.0 with the Java Servlet API 2.1.

Site

http://java.sun.com/products/servlet/index.html

Contact

None

License

Commercial: Free

Notes

Help will not be available from the Administrator since the Alias for /docs will be removed.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure JSWDK and iServer on Windows 9x/NT.
  1. Install iServer and JSWDK.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Create a directory to contain the generated Java and Class files.

    cd iws_dir
    md jsp

    iws_dir the directory where iServer was deployed.

  4. Using the iServer Administrator select Manage->Hosts set * to:

    Hostname: *
    Root Directory: jswdk_dir/webpages

    jswdk_dir the directory where JSWDK was installed.

  5. Using iServer Administrator add the following Servlets:

    Alias: JSP
    Class File: com.sun.jsp.runtime.JspServlet
    Parameters: scratchdir=iws_dir/jsp
    Parameters: keepgenerated=true

    Alias: InvokerServlet
    Class File: stec.iws.InvokerServlet
    Parameters:

    Alias: SnoopServlet
    Class File: SnoopServlet
    Parameters: initarg1=foo
    Parameters: initarg2=bar

    iws_dir the directory where iServer was deployed.

  6. Using iServer Administrator remove /docs Alias.

  7. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: jswdk_dir/examples

    Alias: /examples/servlet
    Type: Servlet
    Resource: InvokerServlet

    Alias: /jsp
    Type: File
    Resource: jswdk_dir/examples/jsp

    Alias: /snoop.html
    Type: Servlet
    Resource: SnoopServlet

    Alias: .jsp
    Type: Filter
    Resource: JSP

    iws_dir the directory where iServer was deployed.
    jswdk_dir the directory where JSWDK was installed.

  8. Add JSWDK to the CLASSPATH.

    set CLASSPATH=jswdk_dir\lib\jspengine.jar;%CLASSPATH%
    set CLASSPATH=jswdk_dir\examples\WEB-INF\jsp\beans;
    %CLASSPATH%

    set CLASSPATH=jswdk_dir\examples\WEB-INF\servlets;
    %CLASSPATH%

    set CLASSPATH=iws_dir\jsp;%CLASSPATH%

    iws_dir the directory where iServer was deployed.
    jswdk_dir the directory where JSWDK was installed.

  9. Reboot the computer.

  10. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  11. Start a Web Browser and enter the following URL:

    protocol://host_name:port/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure JSWDK and iServer on Linux/Unix.
  1. Install iServer and JSWDK.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Create a directory to contain the generated Java and Class files.

    cd iws_dir
    mkdir jsp

    iws_dir the directory where iServer was deployed.

  4. Using the iServer Administrator select Manage->Hosts set * to:

    Hostname: *
    Root Directory: jswdk_dir/webpages

    jswdk_dir the directory where JSWDK was installed.

  5. Using iServer Administrator add the following Servlets:

    Alias: JSP
    Class File: com.sun.jsp.runtime.JspServlet
    Parameters: scratchdir=iws_dir/jsp
    Parameters: keepgenerated=true

    Alias: InvokerServlet
    Class File: stec.iws.InvokerServlet
    Parameters:

    Alias: SnoopServlet
    Class File: SnoopServlet
    Parameters: initarg1=foo
    Parameters: initarg2=bar

    iws_dir the directory where iServer was deployed.

  6. Using iServer Administrator remove /docs Alias.

  7. Using iServer Administrator add the following Aliases:

    Alias: /examples
    Type: File
    Resource: jswdk_dir/examples

    Alias: /examples/servlet
    Type: Servlet
    Resource: InvokerServlet

    Alias: /jsp
    Type: File
    Resource: jswdk_dir/examples/jsp

    Alias: /snoop.html
    Type: Servlet
    Resource: SnoopServlet

    Alias: .jsp
    Type: Filter
    Resource: JSP

    iws_dir the directory where iServer was deployed.
    jswdk_dir the directory where JSWDK was installed.

  8. Add JSWDK to the CLASSPATH.

    export CLASSPATH="jswdk_dir/lib/jspengine.jar:${CLASSPATH}"
    export CLASSPATH="jswdk_dir/examples/WEB-INF/jsp/beans:
    ${CLASSPATH}"

    export CLASSPATH="jswdk_dir/examples/WEB-INF/servlets:
    ${CLASSPATH}"

    export CLASSPATH="iws_dir/jsp:${CLASSPATH}"

    iws_dir the directory where iServer was deployed.
    jswdk_dir the directory where JSWDK was installed.

  9. Reboot the computer.

  10. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  11. Start a Web Browser and enter the following URL:

    protocol://host_name:port/index.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page

Perl

Perl is an interpreted high-level programming language commonly used in CGI programs.

Site

http://www.perl.org

Contact

None

License

Open Source

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure Perl and iServer on Windows 9x/NT.
  1. Install iServer and Perl.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Using the iServer Administrator select Manage->Server and set:

    Shell Access: Yes

  4. Using iServer Administrator add the following Servlet:

    Alias: Perl
    Class File: stec.iws.CgiServlet
    Parameters: bindir=.\
    Parameters: exec=perl_dir\bin\perl.exe

    perl_dir the directory where Perl was installed.

  5. Using iServer Administrator add the following Aliases:

    Alias: .pl
    Type: Filter
    Resource: Perl

  6. Place the Perl scripts in:

    iws_dir\script_dir

    iws_dir the directory where iServer was deployed.
    script_dir the directory where CGI scripts are stored, normally cgi-bin.

  7. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  8. Start a Web Browser and enter the following URL:

    protocol://host_name:port/script_dir/script_name

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.
    script_dir the directory what will contain the Perl scripts, normally cgi-bin.
    script_name the name of the Perl script to run.

top of page
Use the instructions below to configure Perl and iServer on Linux/Unix.
  1. Install iServer and Perl.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. Using the iServer Administrator select Manage->Server and set:

    Shell Access: Yes

  4. Using iServer Administrator add the following Servlet:

    Alias: Perl
    Class File: stec.iws.CgiServlet
    Parameters: bindir=./
    Parameters: exec=perl_dir/bin/perl

    perl_dir the directory where Perl was installed.

  5. Using iServer Administrator add the following Aliases:

    Alias: .pl
    Type: Filter
    Resource: Perl

  6. Place the Perl scripts in:

    iws_dir/script_dir

    iws_dir the directory where iServer was deployed.
    script_dir the directory where CGI scripts are stored, normally cgi-bin.

  7. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  8. Start a Web Browser and enter the following URL:

    protocol://host_name:port/script_dir/script_name

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.
    script_dir the directory what will contain the Perl scripts, normally cgi-bin.
    script_name the name of the Perl script to run.

top of page

SJSP

SJSP is implementation of Sun's JSP.

Site

http://web.telecom.cz/sator/jsp/index.html

Contact

sschejbal@iol.cz

License

Commercial

Notes

SJSP versions 0.92.11, 1.1.1 and 1.1.5 were tested.

Instructions

Select the platform:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure SJSP and iServer on Windows 9x/NT.
  1. Install iServer and SJSP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. For SJSP 0.92.11 and SJSP 1.1.1 create a directory to contain the generated Java and Class files.

    cd iws_dir
    md jsp

    iws_dir the directory where iServer was deployed.

  4. For SJSP 0.92.11 and SJSP 1.1.1 copy the examples.

    SJSP 0.92.11
    cd iws_dir\wwwroot
    xcopy sjsp_dir\samples/s/e

    SJSP 1.1.1
    cd iws_dir\wwwroot
    xcopy sjsp_dir\examples/s/e

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  5. For SJSP 1.1.1 change uri="file:///sjsp/tld/sjsp.tld" to uri="file://sjsp_dir/tld/sjsp.tld" in:

    iws_dir\wwwroot\sjsptags\largejsp1.jsp
    iws_dir\wwwroot\sjsptags\quote1.jsp
    iws_dir\wwwroot\sjsptags\url1.jsp
    iws_dir\wwwroot\simpletags\query1.jsp

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  6. For SJSP 1.1.5 copy web.xml to sjsp_dir\web-inf.

    md sjsp_dir\web-inf
    copy iws_dir\install\add-ons\web.xml sjsp_dir\web-inf

    iws_dir the directory where iServer was installed.
    sjsp_dir the directory where SJSP was installed.

  7. Using iServer Administrator add the following Servlet:

    SJSP 0.92.11
    Alias: SJSP
    Class File: cz.sator.jsp.JspServlet
    Parameters: dir=iws_dir/jsp
    Parameters: compiler=javac -classpath %classpath%
    -d %dir% %source%

    SJSP 1.1.1
    Alias: SJSP
    Class File: cz.sator.sjsp.runtime.SjspServlet
    Parameters: dir=iws_dir/jsp
    Parameters: compiler=javac.exe -classpath %classpath%
    -d %dir% %source%

    Parameters: taglibs=jsp-file://sjsp_dir/tld/jsp.tld

    SJSP 1.1.5
    Alias: SJSP
    Class File: cz.sator.sjsp11.runtime.JspServlet
    Parameters:

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  8. Using iServer Administrator add the following Alias:

    Alias: .jsp
    Type: Filter
    Resource: SJSP

  9. If using SJSP version 1.1.5 using iServer Administrator change the default Virtual Host to:

    Hostname: *
    Root Directory: sjsp_dir

    sjsp_dir the directory where SJSP was installed.

  10. Add SJSP to the CLASSPATH.

    SJSP 0.92.11
    set CLASSPATH=sjsp_dir\lib\SJSP21.JAR;%CLASSPATH%
    set CLASSPATH=iws_dir\jsp;%CLASSPATH%

    SJSP 1.1.1
    set CLASSPATH=sjsp_dir\lib\classes;%CLASSPATH%
    set CLASSPATH=sjsp_dir\lib\sjsp-sapi21.jar;%CLASSPATH%
    set CLASSPATH=iws_dir\jsp;%CLASSPATH%

    SJSP 1.1.5
    set CLASSPATH=sjsp_dir\classes;%CLASSPATH%
    set CLASSPATH=sjsp_dir\lib\sjsp-sapi22-std.jar;%CLASSPATH%
    set CLASSPATH=sjsp_dir\lib\jsp.jar;%CLASSPATH%
    set CLASSPATH=sjsp_dir\lib\xml.jar;%CLASSPATH%
    set CLASSPATH=sjsp_dir\lib\misc-tags.jar;%CLASSPATH%
    set CLASSPATH=java_dir\lib\tools.jar;%CLASSPATH%

    iws_dir the directory where iServer was deployed.
    java_dir the directory where Java was installed.
    sjsp_dir the directory where SJSP was installed.

  11. Reboot the computer.

  12. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  13. Start a Web Browser and enter the following URL:

    SJSP 0.92.11
    protocol://host_name:port/snoop/snoop.jsp

    SJSP 1.1.1
    protocol://host_name:port/examples.html

    SJSP 1.1.5
    protocol://host_name:port/examples/examples.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

top of page
Use the instructions below to configure SJSP and iServer on Linux/Unix.
  1. Install iServer and SJSP.

  2. Deploy iServer.

    deploy_iws iws_dir

    iws_dir the directory where to deploy iServer.

  3. For SJSP 0.92.11 and SJSP 1.1.1 create a directory to contain the generated Java and Class files.

    cd iws_dir
    mkdir jsp

    iws_dir the directory where iServer was deployed.

  4. For SJSP 0.92.11 and SJSP 1.1.1 copy the examples.

    SJSP 0.92.11
    cd iws_dir\wwwroot
    cp -R sjsp_dir/samples/* .

    SJSP 1.1.1
    cd iws_dir\wwwroot
    cp -R sjsp_dir/examples/* .

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  5. For SJSP 1.1.1 change uri="file:///sjsp/tld/sjsp.tld" to uri="file://sjsp_dir/tld/sjsp.tld" in:

    iws_dir/wwwroot/sjsptags/largejsp1.jsp
    iws_dir/wwwroot/sjsptags/quote1.jsp
    iws_dir/wwwroot/sjsptags/url1.jsp
    iws_dir/wwwroot/simpletags/query1.jsp

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  6. For SJSP 1.1.5 copy web.xml to sjsp_dir/web-inf.

    mkdir sjsp_dir/web-inf
    cp iws_dir/install/add-ons/web.xml sjsp_dir/web-inf

    iws_dir the directory where iServer was installed.
    sjsp_dir the directory where SJSP was installed.

  7. Using iServer Administrator add the following Servlet:

    SJSP 0.92.11
    Alias: SJSP
    Class File: cz.sator.jsp.JspServlet
    Parameters: dir=iws_dir/jsp
    Parameters: compiler=javac -classpath %classpath%
    -d %dir% %source%

    SJSP 1.1.1
    Alias: SJSP
    Class File: cz.sator.sjsp.runtime.SjspServlet
    Parameters: dir=iws_dir/jsp
    Parameters: compiler=javac -classpath %classpath%
    -d %dir% %source%

    Parameters: taglibs=jsp-file://sjsp_dir/tld/jsp.tld

    SJSP 1.1.5
    Alias: SJSP
    Class File: cz.sator.sjsp11.runtime.JspServlet
    Parameters:

    iws_dir the directory where iServer was deployed.
    sjsp_dir the directory where SJSP was installed.

  8. Using iServer Administrator add the following Alias:

    Alias: .jsp
    Type: Filter
    Resource: SJSP

  9. If using SJSP version 1.1.5 using iServer Administrator change the default Virtual Host to:

    Hostname: *
    Root Directory: sjsp_dir

    sjsp_dir the directory where SJSP was installed.

  10. Add SJSP to the CLASSPATH.

    SJSP 0.92.11
    export CLASSPATH="sjsp_dir/lib/SJSP21.JAR.jar:${CLASSPATH}"
    export CLASSPATH="iws_dir/jsp:${CLASSPATH}"

    SJSP 1.1.1
    export CLASSPATH="sjsp_dir/lib/classes:${CLASSPATH}"
    export CLASSPATH="sjsp_dir/lib/sjsp-sapi21.jar:${CLASSPATH}"
    export CLASSPATH="iws_dir/jsp:${CLASSPATH}"

    SJSP 1.1.5
    export CLASSPATH="sjsp_dir/classes:${CLASSPATH}"
    export CLASSPATH="sjsp_dir/lib/sjsp-sapi22-std.jar:${CLASSPATH}"
    export CLASSPATH="sjsp_dir/lib/jsp.jar:${CLASSPATH}"
    export CLASSPATH="sjsp_dir/lib/xml.jar:${CLASSPATH}"
    export CLASSPATH="sjsp_dir/lib/misc-tags.jar:${CLASSPATH}"
    export CLASSPATH="java_dir/lib/tools.jar:${CLASSPATH}"

    iws_dir the directory where iServer was deployed.
    java_dir the directory where Java was installed.
    sjsp_dir the directory where SJSP was installed.

  11. Reboot the computer.

  12. Run iServer.

    iws iws_dir

    iws_dir the directory where iServer was deployed.

  13. Start a Web Browser and enter the following URL:

    SJSP 0.92.11
    protocol://host_name:port/snoop/snoop.jsp

    SJSP 1.1.1
    protocol://host_name:port/examples.html

    SJSP 1.1.5
    protocol://host_name:port/examples/examples.html

    host_name the name of the computer running iServer, normally localhost.
    port the port number iServer is listening for requests on, normally 8080.
    protocol the Web protocol, normally http.

 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Sat Aug 12 11:20:03 EDT 2000