« Return to Thread: "Separate Deployment" Orbeon & JSP

"Separate Deployment" Orbeon & JSP

by fitek :: Rate this Message:

Reply to Author | View in Thread

Hi,

I noticed this had been posted last month as well, but without resolution.  I have setup JBoss 4.0.4 and deployed Orbeon 3.6.0.  I followed the instructions for separate deployment at http://www.orbeon.com/ops/doc/reference-xforms-java  to use JSPs to output my XForms.  I have a simple view.xhtml which works just fine in the orbeon.war/WEB-INF/resources/apps directory.  The XForm loads correctly in the browser when it is in the xforms-jsp directory and has an xhtml extention on the filename.  However, once I turn on the filter and filter mapping in web.xml, no jsp inside /xforms-jsp works anymore-- they all have a Content not allowed in prologue error.  I copy the working view.xhtml to view.jsp and it simply will not load.  I add an <% response.setContentType("application/xml") %>  at the top but still the same error. I have tried reducing the view.xhtml to be empty, to have just a <foo/> element, and all manner of other things, but I always get Content not allowed in prologue.

The error is attached as html to this message.  Any help would be greatly appreciated.

Error Message

Fatal error: Content is not allowed in prolog.

Call Stack

Resource URL Line Column Description XML Element
file:///home/liferay/was/bin/ 1 1

oxf:/ops/xforms/xforms-renderer.xpl 39 56
reading processor output
name → data
id → extracted-document
<p:output name="data" id="extracted-document"/>







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

peter2.jsp.htm (88K) Download Attachment

 « Return to Thread: "Separate Deployment" Orbeon & JSP