سؤال

I have a simple web application (loadissue.war) that uses Orbeon Forms 4.5 CE to process XForms (Separate Deployment). The web application contains a simple XHTML+XForms page (loadissue.xhtml) that contains both an HTML link and an XForms load link to itself. In web.xml, I have configured Orbeon Forms to filter url patterns matching *.xhtml.

The page gets rendered properly, i.e., XForms markup is transformed into HTML+CSS+JavaScript. If I click either of the links (HTML or XForms), a blank page is shown as a response (no response content) instead of the expected result, i.e., a page reload. This happens if I use the .xhtml file suffix with my file.

However, if I reconfigure web.xml and tell Orbeon Forms to filter url patterns matching .jsp instead of .xhtml everything works as expected with the loadissue.jsp file, in which the contained links (obviously) now point to this file.

I know that long time ago in the past Orbeon Forms accepted other file suffixes than .jsp in separate deployment mode and worked perfectly. So maybe I am missing a configuration option with this new version or something. I hope the linked .war file helps to reproduce the load issue and possibly suggest what I am doing wrong.

هل كانت مفيدة؟

المحلول

I entered and created an issue for this. What I observe is in the comments above. It is unclear what is actually happening without digging more into what Tomcat does, but the workaround by filtering "If-*" headers in the filter seems to work.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top