Re: ServletExtensions?

"Ken McCloskey" <[email protected]> Wed, 05 Jan 2005 17:08:49 +0000
Newsgroups gmane.text.xml.o-xml
Message-ID <[email protected]>
Martin,

Thanks for the quick response. I like the convenience of 
org.oXML.extras.http.ObjectBox since it allows you to declare params that 
are automatically populated by the servlet request parameters, however 
org.oXML.extras.servlet.ObjectBox allows me to call methods on the req and 
res variables.

For example I'd like to be able to call req.getPathInfo() , which can not be 
done in org.oXML.extras.http.ObjectBox. The transparency 
org.oXML.extras.http.ObjectBox provides between command-line calls and 
servlets for an oxml program is terrific, but occasionally more flexibility 
is needed on the servlet side of things.

Oxml makes life easy for me, thanks for all your hard work.

Ken McCloskey




From: Martin Klang <[email protected]>
To: "Ken McCloskey" <[email protected]>
CC: o-xml-zRfLyl9bSvv/[email protected]
Subject: Re: [o:XML] ServletExtensions?
Date: Wed, 5 Jan 2005 11:59:09 +0000
MIME-Version: 1.0 (Apple Message framework v619)
Received: from fatboy.pingdynasty.com ([213.199.34.33]) by 
mc3-f24.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 5 Jan 2005 
04:02:21 -0800
Received: from [192.168.0.2] (unknown [212.18.228.224])by 
fatboy.pingdynasty.com (Postfix) with ESMTPid EA25969F08; Wed,  5 Jan 2005 
11:52:11 +0000 (GMT)
X-Message-Info: JGTYoYF78jE+aOizAzTLL+uAmM4CHqEX
References: <[email protected]>
X-Mailer: Apple Mail (2.619)
Return-Path: [email protected]
X-OriginalArrivalTime: 05 Jan 2005 12:02:21.0733 (UTC) 
FILETIME=[69791D50:01C4F31E]

Hi Ken,

The primary servlet extensions, with the main servlet class 
org.oXML.extras.http.ObjectBox, are in the distributed objectbox.jar file.
This is the servlet that is documented on the website, it compiles and runs 
o:XML programs based on the request URL.

However there's an alternative and afaik undocumented servlet in the 
codebase, in a package called org.oXML.extras.servlet. This is where 
servlet.oml lives. I can't say for sure whether these extensions work with 
the latest release, as there are no current unit tests.

If you (or anyone else?) are currently using the undocumented alternative 
servlet extensions, as opposed to the ones described on the website, let me 
know and I will update them if/as necessary.

hth,

/m


On 4 Jan 2005, at 19:03, Ken McCloskey wrote:

>Martin,
>
>Congratulations on the new release.
>
>What happened to the servlet.oml extension? It does not seem to be in the 
>jars anymore, and the servlet.oml in the src directory references older lib 
>paths.
>
>Thanks,
>Ken
>
>