ArrowHead ASP Server 0.2.3 review
DownloadArrowHead ASP Server is a Java Servlet which supports the ASP syntax and the VBScript programming language
|
|
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.
Requirements:
JDK 1.4.2
Java Servlet Server which supports Servlet SDK 2.3 or later
Log4j
JRegex
Java Activation Framework (JAF) and JavaMail API
JDom
OSCache
Patience
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
this):
$ 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
aspfiles/WEB-INF:
$ 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:
aspfiles/WEB-INF/lib/arrowhead-0.x.x.jar
aspfiles/WEB-INF/lib/log4j-1.2.8.jar
aspfiles/WEB-INF/lib/jregex1.2.01.jar
For CDONTS Email there should also be:
aspfiles/WEB-INF/lib/activation.jar
aspfiles/WEB-INF/lib/mail.jar
For MSDOM interface there should also be:
aspfiles/WEB-INF/lib/jdom.jar
For OSCache compiled script caching there should also be:
aspfiles/WEB-INF/lib/oscache-2.0.2-22Jan04.jar
aspfiles/WEB-INF/lib/commons-collections.jar
aspfiles/WEB-INF/lib/commons-logging.jar
After these files are copied over, copy over the ASP files you require to:
aspfiles
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:
http://localhost:8080/aspfiles/test.asp
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.
ArrowHead ASP Server 0.2.3 search tags