cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Egolf <geg...@bju.edu>
Subject PHP servlet problems
Date Wed, 16 Oct 2002 13:42:36 GMT
Hi,

I am trying to integrate the functionality of PHP with Cocoon, but I 
seem to have run into some problems.  When I try to run a small test 
script, 1 of 2 things will happen.

1.  I get nothing back (the browser just sits and acts busy), or
2.  If I restart my servlet engine, I receive a blank page.

I'm rather at a loss, so any hints, ideas, or thoughts would be greatly 
appreciated.  Following is my sitemap entry, php code, and system specs.

<map:pipeline>
  <map:match src="phptest">
    <map:generate src="hello.php" type="php"/>
    <map:transform src="hello.xsl"/>
    <map:serialize/>
  </map:match>
</map:pipeline>

<?php
  print("<?xml version='1.0'?>\n");
  print("<greeting>\n<text>Hello World</text>\n</greeting>");
?>

Red Hat 7.2
Apache 2.0.42
JDK 1.4.0
Tomcat 4.0.4
Cocoon 2.0.3

Thanx.

Gabe



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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