<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Balz<br>
    <br>
    I guess you mean<br>
    <br>
    view.setResponse(false);<br>
    <br>
    See for example<br>
    <br>
src/resources/redirect/src/java/org/wyona/yanel/impl/resources/redirect/RedirectResource.java<br>
    <br>
    HTH<br>
    <br>
    Michael<br>
    <br>
    <br>
    <br>
    Am 18.01.13 09:38, schrieb basZero:
    <blockquote
cite="mid:CAOXzDSEmtZKb3S8ciqrFH+VoSEmPbtihi28KO2VgsRuFd8Kh7g@mail.gmail.com"
      type="cite">dear all,
      <div><br>
      </div>
      <div>sometimes you need to do a redirect from within a resource.</div>
      <div>so what you normally do is the following:</div>
      <div><br>
      </div>
      <div>
        <p class="p1">        yanelEnvironment.getResponse().setHeader(<span
            class="s1">"Location"</span>, redirectUrl);<br>
               
            yanelEnvironment.getResponse().setStatus(HttpServletResponse.<span
            class="s1">SC_MOVED_TEMPORARILY</span>);<br>
          <br>
        </p>
        <p class="p1">then you just do a "return" from your resource and
          let Yanel do the rest.<br>
          Is it possible to tell Yanel to abort any further processing
          and do just sending back the reponse? </p>
        <p class="p1">
          I remember that there was a method to tell Yanel to abort, but
          I don't find the email anymore.</p>
        <p class="p1">Anybody a clue?</p>
        <p class="p1">Cheers<br>
          Balz</p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>