You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Eduardo Zurita <g0...@correo.cajacanarias.es> on 2003/01/28 15:59:52 UTC

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.