[o:XML] ServletExtensions?

Martin Klang martin at hack.org
Wed Jan 5 19:17:49 UTC 2005


Umm, the 'official' servlet should do both.

ie with the following program...
<o:program xmlns:servlet="http://www.o-xml.com/servlet/" ...>
   <o:param name="servlet:req"/>
   <o:param name="servlet:res"/>
   <o:param name="servlet:servlet"/>
   <o:param name="o:session"/>
   <o:param name="param" select="'default'"/>

...you get the request, response and servlet objects, a Map 
representing the servlet session plus an HTTP parameter (with default 
value if not set).

You can call methods on the servlet objects as usual, eg
<o:set path="$servlet:req.getPathInfo()"/>

The session thing is new, the advantage being that it also works from 
the command line.

Hope this makes sense. I'll have to go over the docs sometime soon to 
make sure they're up to date.


On 5 Jan 2005, at 17:08, Ken McCloskey wrote:

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

Thank you for using it!


/m



More information about the o-xml mailing list