ArrowHead ASP Server is a Java Servlet which supports the ASP syntax and the VBScript programming language. It aims to support VBScript version 3.1 and the standard set of COM objects, but has a little ways to go yet.
It is extendable using Java objects and the Server.CreateObject syntax. It has been developed and tested under Apache 2.x and Tomcat 5.0.x, but should run under any Java servlet server.
· JDK 1.4.2
· Java Servlet Server which supports Servlet SDK 2.3 or later
· Java Activation Framework (JAF) and JavaMail API
Create a webapp directory
A webapp directory needs to be created for the ASP files and required
libraries. This directory can be anywhere, but it would be simplest if
this directory was made under the "webapps" subdirectory in the Tomcat
installation. In this example, Tomcat is installed in /usr/share/tomcat, so
we make a subdirectory under the webapps directory (may have to be root for
$ cd /usr/share/tomcat/webapps
$ mkdir aspfiles
$ mkdir aspfiles/WEB-INF
$ mkdir aspfiles/WEB-INF/lib
Copy the web.xml file (sample downloadable from SourceForge project) into
$ cp /home/user/downloads/web.xml /usr/share/tomcat/webapps/aspfiles/WEB-INF
Copy required libraries
Copy over the required JAR files downloaded from the locations described above.
At the minimum there should be:
For CDONTS Email there should also be:
For MSDOM interface there should also be:
For OSCache compiled script caching there should also be:
After these files are copied over, copy over the ASP files you require to:
If there are no existing ASP files to copy over, or for a quick test, create
the file "test.asp", and put the following into to:
< % Response.Write("Hello from ASP!") % >
Re-start Tomcat, then browse to the ASP file created, for example:
You should see just the text:
Hello from ASP!
The web.xml sample distributed with ArrowHead contains mapping for default.asp,
Default.asp, and index.asp as welcome files.
What's New in This Release:
· Update to work with JavaCC 3.x
· Made all of the nodes serializable.
· Fixed "cannot access field marked public" error.
· JC: Added FormatCurrency,
· Added Long Java/ASP type conversions.
· Added support for OSCache page caching.