RE: How to include html page

Posted by Amit Shinde on
URL: http://ofbiz.116.s1.nabble.com/How-to-include-html-page-tp141499p141500.html

Dilip,
        This might be due to the handlers that need to be included in the
controller file. At the top of the controller.xml file, check whether you
are missing any of these handlers. You probably dont have the "http"
handler. After including them, restart the server again.


    <!-- event handlers -->
    <handler name="java" type="request"
class="org.ofbiz.webapp.event.JavaEventHandler"/>
    <handler name="soap" type="request"
class="org.ofbiz.webapp.event.SOAPEventHandler"/>
    <handler name="service" type="request"
class="org.ofbiz.webapp.event.ServiceEventHandler"/>
    <handler name="simple" type="request"
class="org.ofbiz.webapp.event.SimpleEventHandler"/>

    <!-- view handlers -->
    <handler name="ftl" type="view"
class="org.ofbiz.webapp.ftl.FreeMarkerViewHandler"/>
    <handler name="jsp" type="view"
class="org.ofbiz.webapp.view.JspViewHandler"/>
    <handler name="screen" type="view"
class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
    <handler name="http" type="view"
class="org.ofbiz.webapp.view.HttpViewHandler"/>
    <handler name="datavision" type="view"
class="org.ofbiz.webapp.view.DataVisionViewHandler"/>
    <handler name="jasperreportspdf" type="view"
class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
    <handler name="jasperreportsxml" type="view"
class="org.ofbiz.webapp.view.JasperReportsXmlViewHandler"/>
    <handler name="screenfop" type="view"
class="org.ofbiz.widget.screen.ScreenFopPdfViewHandler"/>


    Hope this helps.

Amit Shinde


-----Original Message-----
From: dhilip kumar [mailto:[hidden email]]
Sent: Wednesday, August 23, 2006 3:44 PM
To: users
Subject: How to include html page


Hi

       I would like to include "html" page in the main page(thru the
controller), instead of  "ftl" page. But i am getting the folowing error,

  "org.xml.sax.SAXParseException: The markup in the document following the
root element must be well-formed."

  Could anyone please help me?

  Thanks in advance





---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out.