Login  Register

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

Posted by DL on Dec 02, 2010; 10:04pm
URL: https://discuss.orbeon.com/colocating-jsp-and-php-with-xforms-apps-files-tp3070304.html

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.