cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivo L." <...@leut.srk.fer.hr>
Subject what is wrong?
Date Wed, 28 Nov 2001 12:02:33 GMT

I have problems with XSP.

-------- this file is ok ------------------
<?xml version="1.0"?>
<?xml-stylesheet href="foo.xsl" type="text/xsl"?>
<?xml-stylesheet href="foowap.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>
<main>
 <bla>more bla</bla>
</main>
-------------------------------------------
---------- but this won't work ------------
<?xml version="1.0"?>
<?xml-stylesheet href="foo.xsl" type="text/xsl"?>
<?xml-stylesheet href="foowap.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>
<?cocoon-process type="xsp"?>
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:util="http://www.apache.org/1999/XSP/Util">
<main>
 <util:include-uri><util:href>
  <xsp:expr>"http://192.168.0.1:12346/cgi-bin/nm.cgi?" + request.getQueryString()</xsp:expr>
 </util:href></util:include-uri>
</main>
</xsp:page>
--------------------------------------------

the nm.cgi returns  something like this and it seems to be ok
--------------------------------------------
Content-type: text/xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<bla> a lot of bla </bla>
--------------------------------------------

Result of lynx http://192.168.0.1:12346/nm.xml?foo=bla
is absolutly nothing. There is only a warning in error.log:
[Wed XXXXXXX] [warn] [client 192.168.0.1] handler "cocoon" not found for: /var/www/nm.xml

thanks for any help...
Ivo


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message