KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > JSRedirect


1 /*
2  * Created on 02/01/2006 13:08:03
3  */

4 package net;
5
6 import java.io.IOException JavaDoc;
7
8 import javax.servlet.ServletException JavaDoc;
9 import javax.servlet.http.HttpServlet JavaDoc;
10 import javax.servlet.http.HttpServletRequest JavaDoc;
11 import javax.servlet.http.HttpServletResponse JavaDoc;
12
13 public class JSRedirect extends HttpServlet JavaDoc
14 {
15     public void service(HttpServletRequest JavaDoc req, HttpServletResponse JavaDoc res) throws ServletException JavaDoc, IOException JavaDoc
16     {
17         req.getRequestDispatcher("/WEB-INF/astrack.jsp").forward(req, res);
18     }
19 }
20
Popular Tags