W
wai
hi all,
i running cocoon 2.1.1 with websphere 5, i have a problem related to xsp
cinclude. everything after my first cinclude statement, it become bank.
i been tested the cocoon cinclude sample code, it working fine in tomcat,
but not websphere.
any ideas?
many thanks of nay help.
wai
=====================================================
eg: my.xsp
======================================================
<xspage language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:log="http://apache.org/xsp/log/2.0"
xmlns:string-replace="http://cocoon/PRD/common/stylesheets/logicsheets"
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
xmlns:util="http://apache.org/xsp/util/2.0"
xmlns:cinclude="http://apache.org/cocoon/include/1.0"
<xsp:structure>
<xsp:include>au.gov.hic.prdesktop.common.*</xsp:include>
<xsp:include>au.gov.hic.utils.PopupUrlBuilder</xsp:include>
<xsp:include>au.gov.hic.prdesktop.requestBeans.ActivityItems.AiRequestBean</
xsp:include>
<xsp:include>org.apache.cocoon.webapps.authentication.user.*</xsp:include>
<xsp:include>au.gov.hic.logger.*</xsp:include>
</xsp:structure>
<page>
<cinclude:include src="cocoon:/ai_copen.xsp" element="page"/>
<cinclude:include src="cocoon:/ai_load.xsp" element="page"/>
</page>
</xspage>
======================================================
output from browser (http://aaa.com/my.xsp?cocoon-view=query)
=====================================================
<?xml version="1.0" encoding="UTF-8"?>
<page
xmlns:xsp="http://apache.org/xsp"
xmlns:util="http://apache.org/xsp/util/2.0"
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:log="http://apache.org/xsp/log/2.0"
xmlns:string-replace="http://cocoon/PRD/common/stylesheets/logicsheets"
xmlns:cinclude="http://apache.org/cocoon/include/1.0"
<cinclude:include src="cocoon:/ai_copen.xsp" element=""/>
<cinclude:include src="" element=""/>
</page>
i running cocoon 2.1.1 with websphere 5, i have a problem related to xsp
cinclude. everything after my first cinclude statement, it become bank.
i been tested the cocoon cinclude sample code, it working fine in tomcat,
but not websphere.
any ideas?
many thanks of nay help.
wai
=====================================================
eg: my.xsp
======================================================
<xspage language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:log="http://apache.org/xsp/log/2.0"
xmlns:string-replace="http://cocoon/PRD/common/stylesheets/logicsheets"
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
xmlns:util="http://apache.org/xsp/util/2.0"
xmlns:cinclude="http://apache.org/cocoon/include/1.0"
<xsp:structure>
<xsp:include>au.gov.hic.prdesktop.common.*</xsp:include>
<xsp:include>au.gov.hic.utils.PopupUrlBuilder</xsp:include>
<xsp:include>au.gov.hic.prdesktop.requestBeans.ActivityItems.AiRequestBean</
xsp:include>
<xsp:include>org.apache.cocoon.webapps.authentication.user.*</xsp:include>
<xsp:include>au.gov.hic.logger.*</xsp:include>
</xsp:structure>
<page>
<cinclude:include src="cocoon:/ai_copen.xsp" element="page"/>
<cinclude:include src="cocoon:/ai_load.xsp" element="page"/>
</page>
</xspage>
======================================================
output from browser (http://aaa.com/my.xsp?cocoon-view=query)
=====================================================
<?xml version="1.0" encoding="UTF-8"?>
<page
xmlns:xsp="http://apache.org/xsp"
xmlns:util="http://apache.org/xsp/util/2.0"
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:log="http://apache.org/xsp/log/2.0"
xmlns:string-replace="http://cocoon/PRD/common/stylesheets/logicsheets"
xmlns:cinclude="http://apache.org/cocoon/include/1.0"
<cinclude:include src="cocoon:/ai_copen.xsp" element=""/>
<cinclude:include src="" element=""/>
</page>