I tried the following code in the sitemap to redirect to a page after saving values to 
the 
database using art_grp_chg.xsp and receive an sitemap error. 

   <map:match pattern="art_grp_chg.xsp">
    <map:act type="request">
      <map:parameter name="parameters" value="true"/>
      <map:select type="request-parameter">
      <map:parameter name="parameter-name" value="next"/>
         <map:when test="">
         </map:when>
         <map:otherwise>
            <map:generate type="serverpages" src="xdocs/db/art_grp_chg.xsp"/>
            <map:serialize/>
            <map:redirect-to uri="../{next}"/>
         </map:otherwise>
      </map:select>         
    </map:act>    
   </map:match>

I am looking for a simple way to do something similar to the 
response.sendRedirect(""); I 
used in my Cocoon 1.8.2. code. 

Configuration:
Cocoon 2.0.3
Tomcat 4.1.7
Win98

Thanks
Christian

________________________

  Christian Hoofe
  Email  [EMAIL PROTECTED]
________________________


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to