<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Resin 4.0 rewrite/dispatch</title>
	<atom:link href="http://blog.caucho.com/2009/04/08/resin-40-rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.caucho.com/2009/04/08/resin-40-rewrite/</link>
	<description>Inside info, thoughts, and opinions from Caucho engineers</description>
	<pubDate>Tue, 21 May 2013 00:55:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: stbu</title>
		<link>http://blog.caucho.com/2009/04/08/resin-40-rewrite/comment-page-1/#comment-198</link>
		<dc:creator>stbu</dc:creator>
		<pubDate>Fri, 29 May 2009 07:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caucho.com/?p=183#comment-198</guid>
		<description>Unfortunately, the tags have been removed instead of escaped for HTML.
Next try:

Im actually using Resin 3.1, but tried a test case on Resin 4.0.
In 3.1 I was able to use &lt;moved-permanently&gt; to send a 301 with the new location to the browser. How can this be achieved with 4.0?

When using &lt;resin:Redirect&gt; then a 302 is used:

HTTP/1.x 302 Found
Server: Resin/4.0.0


BTW: Is there any possibility to remove query parameters in case of a redirect?
e.g. when rewriting "^/foo.jsp" to target "/bar.jsp"
the request too host:port/foo.jsp?p1=val1 the redirect will be host:port/bar.jsp?p1=val1. How can I get just  host:port/bar.jsp without query parameters?

Thanks, Steffen</description>
		<content:encoded><![CDATA[<p>Unfortunately, the tags have been removed instead of escaped for HTML.<br />
Next try:</p>
<p>Im actually using Resin 3.1, but tried a test case on Resin 4.0.<br />
In 3.1 I was able to use &lt;moved-permanently&gt; to send a 301 with the new location to the browser. How can this be achieved with 4.0?</p>
<p>When using &lt;resin:Redirect&gt; then a 302 is used:</p>
<p>HTTP/1.x 302 Found<br />
Server: Resin/4.0.0</p>
<p>BTW: Is there any possibility to remove query parameters in case of a redirect?<br />
e.g. when rewriting &#8220;^/foo.jsp&#8221; to target &#8220;/bar.jsp&#8221;<br />
the request too host:port/foo.jsp?p1=val1 the redirect will be host:port/bar.jsp?p1=val1. How can I get just  host:port/bar.jsp without query parameters?</p>
<p>Thanks, Steffen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stbu</title>
		<link>http://blog.caucho.com/2009/04/08/resin-40-rewrite/comment-page-1/#comment-197</link>
		<dc:creator>stbu</dc:creator>
		<pubDate>Fri, 29 May 2009 07:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caucho.com/?p=183#comment-197</guid>
		<description>I'm actually using Resin 3.1, but tried a test case on Resin 4.0. 
In 3.1 I was able to use  to send a 301 with the new location to the browser. How can this be achieved with 4.0?

When using  then a 302 is used:

HTTP/1.x 302 Found
Server: Resin/4.0.0</description>
		<content:encoded><![CDATA[<p>I&#8217;m actually using Resin 3.1, but tried a test case on Resin 4.0.<br />
In 3.1 I was able to use  to send a 301 with the new location to the browser. How can this be achieved with 4.0?</p>
<p>When using  then a 302 is used:</p>
<p>HTTP/1.x 302 Found<br />
Server: Resin/4.0.0</p>
]]></content:encoded>
	</item>
</channel>
</rss>
