XForms JSP in cross context mode

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XForms JSP in cross context mode

NizarK
Hi....
I'm trying to use Xforms in my java web application so I'm trying to apply the "Separate Deployment" I read in XForms for Java Apps section of Documentation....
The problem that all seems to work fine but when I call a Xforms+JSP from my apllication the orbeon page shows an error : Fatal error: Content is not allowed in prolog....

I ve tried with a very simple JSP containing this :


hello

test


the problem is when a I remove the .jsp extension and call the new file it works fine .....
The same example works when i call it from the orbeon context ....
I tried to transform my jsp into servlet and called it in the same manner and it worked....

****** The problem is only with JSP ....
Does someone hava an idea.....

--
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
Reply | Threaded
Open this post in threaded view
|

Re: XForms JSP in cross context mode

Alessandro Vernet
Administrator
On Fri, Apr 11, 2008 at 11:47 PM, nizar klibi <[hidden email]> wrote:
> I'm trying to use Xforms in my java web application so I'm trying to apply
> the "Separate Deployment" I read in XForms for Java Apps section of
> Documentation....
> The problem that all seems to work fine but when I call a Xforms+JSP from my
> apllication the orbeon page shows an error : Fatal error: Content is not
> allowed in prolog....

Usually this error is caused by an XML parsing error, which would
indicate that your JSP did not generate well-formed XML. If the error
is not obvious, you can try to remove the filter, load the page again
your web browser, view the source, copy and paste it an XML editor to
see if the data produced by the JSP is indeed well-formed.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


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