<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
excellent :-)<br>
<br>
Am 22.01.13 15:26, schrieb basZero:
<blockquote
cite="mid:CAOXzDSE-8ChXcpgFmDF8oVm5pt8Fafz_8LmGsGd5E88PHuwqPg@mail.gmail.com"
type="cite">Yes, that's it.
<div><br>
</div>
<div>Thanks a lot, I'll look into it.</div>
<div><br>
</div>
<div>Cheers</div>
<div>Balz<br>
<br>
<div class="gmail_quote">On Tue, Jan 22, 2013 at 3:21 PM,
Michael Wechner <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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:
<div>
<div class="h5">
<blockquote 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>
yanelEnvironment.getResponse().setHeader(<span>"Location"</span>,
redirectUrl);<br>
yanelEnvironment.getResponse().setStatus(HttpServletResponse.<span>SC_MOVED_TEMPORARILY</span>);<br>
<br>
</p>
<p>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> I remember that there was a method to tell
Yanel to abort, but I don't find the email
anymore.</p>
<p>Anybody a clue?</p>
<p>Cheers<br>
Balz</p>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
--<br>
Yanel-development mailing list <a moz-do-not-send="true"
href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a moz-do-not-send="true"
href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development"
target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<b><font color="#666666">Balz Schreier</font></b>
<div><font color="#666666">Zwischengas AG</font></div>
<div><font color="#666666">CTO / Fotograf</font></div>
<div><br>
</div>
<div><a moz-do-not-send="true" href="http://www.zwischengas.com"
target="_blank"><font color="#990000">www.zwischengas.com</font></a></div>
<div><a moz-do-not-send="true"
href="http://www.facebook.com/zwischengas" target="_blank"><font
color="#990000">www.facebook.com/zwischengas</font></a></div>
<div><br>
</div>
<div><img moz-do-not-send="true"
src="http://www.zwischengas.com/de/bild_assets/Press_Section/logo_red_on_white_250.png"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>