Login  Register

Re: Re: colocating *.jsp (and *.php) with xforms apps files

Posted by Erik Bruchez on Dec 18, 2010; 2:03am
URL: https://discuss.orbeon.com/colocating-jsp-and-php-with-xforms-apps-files-tp3070304p3093367.html

On Fri, Dec 17, 2010 at 6:01 PM, Erik Bruchez <[hidden email]> wrote:

>>> ... but basically what you want is quercus first, then the XForms filter.
>>>
>>> -Erik
>>
>> that is exactly what I've been struggling with .. how do I first invoke
>> quercus servlet (to pre-process embedded php code to dynamically change
>> xhtml) and then .. secondly .. invoke orbeon filter?  i.e. two passes of
>> compilation?
>>
>> what specifies the sequence of running servlets?
>>
>> the order in which they are defined in web.xml .. or what?
>
> From what I gather from the doc, it's the order of the filter mappings
> in web.xml.
From the Servlet spec:

"The order the container uses in building the chain of filters to be
applied for a particular request URI is as follows:

1. First, the <url-pattern> matching filter mappings in the same order
that these elements appear in the deployment descriptor.
2. Next, the <servlet-name> matching filter mappings in the same order
that these elements appear in the deployment descriptor."

-Erik


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws