By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,938 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,938 IT Pros & Developers. It's quick & easy.

cocoon cinclude problem in xsp

P: n/a
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

================================================== ====

<xsp:page 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.Act ivityItems.AiRequestBean</
xsp:include>

<xsp:include>org.apache.cocoon.webapps.authenticat ion.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>

</xsp:page>

================================================== ====

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>
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.