W3C home > Mailing lists > Public > www-forms@w3.org > March 2001

XForms processor for JSP

From: Dominic Cooney <coonsta@ozemail.com.au>
Date: Sat, 3 Mar 2001 11:00:42 +1000
Message-ID: <001c01c0a37d$5fae93d0$cd5554d2@moi.local>
To: <www-forms@w3.org>
Hello all,

As an undergraduate data communications project recently I investigated
XForms and implemented a small, non-conforming subset for JSP. It is wholly
server-side, so as you can imagine, a lot of XForms features are not

Anyway, if you're interested the ZIP of the source, javadoc, binaries and
examples is available at http://www.ozemail.com.au/~coonsta/XFormsJSP.zip .

It has been tested on JDK1.2.2 and 1.3.0 on Win32 with Tomcat 3.2.1. It
requires Apache Xalan-J 2.0.0 and Apache ORO 2.0.1 (for the pattern
implementation.) These are available from:

Xalan-J 2.0.0: http://xml.apache.org/dist/xalan-j/xalan-j_2_0_0.zip
Tomcat 3.2.1: http://jakarta.apache.org/builds/tomcat/release/v3.2.1/bin/
ORO 2.0.1: http://jakarta.apache.org/builds/jakarta-oro/release/v2.0.1/

There's a small problem with Tomcat, in that an old JAXP comes packaged with
it that Xalan must replace. Admittedly there's probably a straightforward
way of doing this, but, being pressed for time, this is what I did:

- copy Xalan's xerces.jar to Tomcat's lib directory
- extract Tomcat's parser.jar somewhere
- extract Xalan's xalan.jar, overwriting the files from parser.jar
- create a new JAR (e.g. parser-replacement.jar) and put it in Tomcat's lib
directory, in place of parser.jar
- also remove Tomcat's jaxp.jar
- start Tomcat as normal

To those who initially expressed interest: Sorry for the delay, I have been
somewhat busy.

I'd be happy to hear from you with any comments!


Dominic Cooney
Received on Friday, 2 March 2001 19:58:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:04 UTC