JSPSMARTUPLOAD : DOCUMENTATION |
Setup Instructions Last modified: March 1st, 2000 © 2000 Advantys. All rights reserved. |
The installation of jspSmartUpload can be broken down into 3 main stages :
- extract the downloaded file
- install the jspSmartUpload files on the Web server
- view the samplesThese three stages are fully described below.
Server
- ~500Ko of free disk space
- a WebServer
- JDK 1.2.2 (Java 2 Platform)
- JavaTMServlet API (2.2)
- JavaServer PagesTM 1.1
Browser
Your browser must be RFC 1867-compliant to be able to upload files.
Netscape 3+ and Microsoft IE 3.02+ accept the RFC 1867.
If you have no JSP Engine Tomcat Tomcat is the Reference Implementation for the Java Servlet 2.2 and JavaServer Pages 1.1 Technologies. Tomcat is the official reference implementation for these complementary technologies. Tomcat
JavaServerTM Web Development Kit (JSWDK) The JavaServer Web Development Kit (JSWDK)1.0.1 combines the reference implementation for JavaServer PagesTM 1.0.1 and the JavaTMServlet API (2.1). For more information about JavaServer Pages : http://java.sun.com/products/jsp/ Allaire JRun A complete J2EE application server.
The JSDK is Sun's servlet API. You need the JSDK classes to use Java servlets; JServ requires JSDK v2.0. JRunIBM WebSphere Application Server The Standard Edition lets you use Java servlets, JavaServer Pages. WebSphere
Stage 1 : Extract the downloaded file
All the jspSmartUpload files are supplied in the compressed file, jspSmartUpload.zip or jspSmartUpload.tar.gz.
Extract the compressed file to a temporary directory, making sure the directory structure remains intact. If, for example, you extract the file to /Temp, you should see the following :
Stage 2 : jspSmartUpload Installation
The jspSmartUpload installation can be different according to the web server and JSP Engine used. The following table list most of frequently configurations used.
Click on the JSP Engine you use according to your web server, to obtain the setup instructions:
Plateforms Web Servers JSP Engines Support for Servlets - JSP jspSmartUpload Windows Apache Tomcat 2.2 - 1.1 Setup instructions Internet Information Server JRun 2.3.3 2.1 - 1.0 Setup instructions Resin 1.1 2.2 - 1.1 Setup instructions ServletExec 3.0 2.2 - 1.1 Setup instructions Inprise Application Server 2.1 - 1.0 Setup instructions iPlanet Web Server 2.2 - 1.1 Setup instructions Orion Web Server 2.2 - 1.1 Setup instructions Unix - Linux Apache Tomcat 2.2 - 1.1 Setup instructions JRun 2.3.3 2.1 - 1.0 Setup instructions If your configuration is not in the above list :
- Make sure you have Sun's Java Compiler 1.2 installed.
- Make sure your classpath is set up correctly as specified in the SDK instructions.
- You need to have a JSP Engine. (see Configuration Required)
1. Stop your webserver
2. Copy files from /Temp/jspsmartupload/*.htm into a virtual path of your web site.
3. Create the directory /upload declared as a virtual path of your web site.
4. Copy all jsp files of the /Temp/jspsmartupload/jsp directory into your usually JSPs' folder.
5. The package is in the /Temp/jspsmartupload/Web-inf/classes folder.
Copy this directory into your usually servlets folder.
6. Start your web server.
N.B.:
To use sample4 and sample7 you need an available database (mySQL.sql), if necessary defined a JDBC or JDBC-ODBC bridget.
Test
Using your browser, enter the following addresses :
http://your_web_server:8080/examples/jspsmartupload/default.htm
© 2000 Advantys. All rights reserved. |