JSPSMARTUPLOAD : DOCUMENTATION
Installation with JRun
Last update: 05/17/2000
© 2000 Advantys. All rights reserved.

Stage 1: Install JDK 1.2.2

JspSmartUpload requires JDK 1.2.2.
JDK 1.2.2 is available for downloaded from Sun. JDK 1.2.2 for Windows

Note: You can install it in any directory (default is C:\jdk1.2.2).


Stage 2: Install JRun

JRun is available for download from Allaire. JRun 2.3.3 for Windows

Note:
You must stop IIS service before installing JRun. To do so, type the command: net stop iisadmin

You can install JRun in any directory (default is C:\JRun). 

During the installation process, JRun asks for the path to the JDK.
You must use the path to the JDK1.2.2 installed in Stage 1.
You should not use the JDK bundled with JRun (C:\JRun\jre)

JRun then launch the "Jrun setup wizard".
Use C:\Jrun as root directory
Fields "older root directory", "licence key" and "CF Anywhere" do not need to be filled
About "JSP Version Mapping" step, you must choose "Map *.jsp to v1.0"

During the set up of the connector, select IIS/PWS 3.0/4.0 and type in the IP address of your server.

JRun then asks for the path to IIS 'scripts' directory.

You must type
C:\InetPub\Your_Site\scripts
Caution: the box "Add JRun as a global filter to IIS" must be checked.

After completing JRun installation, it is recommended that you upgrade JRun to the latest available version.  JRun updates

You can now restart IIS by typing the command net start iisadmin and start Jrun from the Start menu>Programs>JRun>Start JRun
You also have to start you web site from the IIS management console.


Stage 3 : Install jspSmartUpload.

Supposing your web site location is C:\InetPub\Your_Site

C:\InetPub\Your_Site site root
C:\InetPub\Your_Site\jspsmartupload\ Static pages (html)
C:\InetPub\Your_Site\jspsmartupload\jsp\ Dynamic pages (jsp)
C:\InetPub\Your_Site\jspsmartupload\upload Uploaded files

1. Copy the files located in jspsmartupload\*.html into C:\InetPub\Your_Site\jspsmartupload

2. Copy the files located in
jspsmartupload\jsp\*.jsp into C:\InetPub\Your_Site\jspsmartupload\jsp

3. Copy the files located in jspsmartupload\Web-inf\classes into
C:\JRun\jsm-default\classes.

4. In IIS management console, create a virtual directory named jspsmartupload which physical path is C:\InetPub\Your_Site\jspsmartupload and allow the Execute access on this virtual dir (your site must also have the Execute access).

5
. You need a virtual directort named upload to save uploaded files. Its physical path is C:\InetPub\Your_Site\jspsmartupload\upload


Use of examples

Type the following URL in your browser:
http://IP_address_of_your_web_server/jspsmartupload/default.htm


© 2000 Advantys. All rights reserved.