Login  Register

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

Posted by Erik Bruchez on Dec 11, 2010; 1:32am
URL: https://discuss.orbeon.com/colocating-jsp-and-php-with-xforms-apps-files-tp3070304p3082922.html

Patterns in web.xml are very limited. You can only specify a path
prefix, or an extension.

You can try <url-pattern>*.jsp</url-pattern> if you want all your JSPs
to go through the filter. Does this work?

We have no experience with quercus here but basically what you want is
quercus first, then the XForms filter.

-Erik

On Thu, Dec 2, 2010 at 2:04 PM, DL <[hidden email]> wrote:

>
> I want to place a *.jsp (or *.php) actually inside an app directory ..
> resources/apps/test/test.jsp .. to be colocated with xhtml app files ..
> instead of placing in xforms-jsp folder as in other jsp examples .
>
> what should be in the <url-pattern> ??? </url-pattern> in the
> <filter-mapping> in web.xml ?
>
> i.e. instead of <url-pattern>xforms-jsp</url-pattern>  what is the
> url-pattern for path to an app?
>
> My aim is to parse and write an xhtml file using jsp or php and file write
> requires script and target file to be colocated in the same directory.
>
> If I then run the *.jsp or *.php file in browser what is the full url .. not
> passing through pageflow controller?
>
> http://localhost:8080/orbeon/ .......  /test/test.jsp ?
>
> I have quercus java php servlet integrated into orbeon so can run *.php -
> but not through pageflow controller.
>
> So the idea is to dynamically create an xform by rewriting contents using
> *.php script.
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/colocating-jsp-and-php-with-xforms-apps-files-tp3070304p3070304.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>
>


--
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