Re: ServletExtensions?
Martin Klang <[email protected]> Wed, 5 Jan 2005 19:17:49 +0000
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
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