package com.hunantv.fw.view;

import java.io.IOException;
import java.io.Writer;

public class RedirectView extends AbsView {

	public RedirectView(String v) {
		this.v = v;
	}

	public String render() {
		return (String) v;
	}

	@Override
	public void renderTo(Writer out) throws IOException {
		out.write(this.render());
	}
}

@@ -23,16 +23,63 @@
 .view;%0A%0A
+import javax.servlet.http.HttpServletResponse;%0A
 import j
@@ -341,17 +341,140 @@
 %7B%0A%09%09
-out.write
+/* Ignore method. */%0A%09%7D%0A%0A%09@Override%0A%09public void renderTo(HttpServletResponse response) throws IOException %7B%0A%09%09response.sendRedirect
 (thi

change redirect view's render method.