cocoon cinclude problem in xsp

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

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

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top