cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Zurita" <g000...@correo.cajacanarias.es>
Subject Fw: failure in request parameters
Date Wed, 19 Feb 2003 13:51:55 GMT
Hello again,

    Please, any solution?

    Thanks in advance.

    Eduardo.

----- Original Message ----- 
From: Eduardo Zurita 
To: cocoon-users@xml.apache.org 
Sent: Tuesday, January 28, 2003 2:59 PM
Subject: failure in request parameters


Hello,

    I have the following pipeline:
    
    <map:pipeline>
    <map:match pattern="qeq.html">
      <map:generate type="jsp" src="servicios/qeq/jsp/qeq.jsp"/>
   <map:transform src="servicios/qeq/stylesheets/qeq1.xsl"/>
      <map:serialize type="html"/>
    </map:match>
  </map:pipeline>

And works fine, but if I modify it to:

    <map:pipeline>
    <map:match pattern="qeq.html">
       <map:act type="request">
          <map:parameter name="parameters" value="true"/>
          <map:generate type="jsp" src="servicios/qeq/jsp/qeq.jsp{requestQuery}"/> 
      
      </map:act>
      <map:transform src="servicios/qeq/stylesheets/qeq1.xsl"/>
      <map:serialize type="html"/>
    </map:match>
   </map:pipeline>

Note that I do nothing with the request parameters in the JSP file.

Well, the second one produces the following exception:

JspGenerator: SAXException JspGenerator.generate()
org.xml.sax.SAXParseException: Premature end of file.

I don't know what is happening.

Some help would be appreciated.

Thanks in advance.

Eduardo.
Mime
View raw message