com.xpn.xwiki.web
Class HomePageRedirectServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.xpn.xwiki.web.HomePageRedirectServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class HomePageRedirectServlet
- extends HttpServlet
A simple action that redirects to the main page of the wiki. This is to allow users to enter a URL like
http://localhost:8080/xwiki
and be redirected automatically to
http://localhost:8080/xwiki/bin/view/Main/
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HomePageRedirectServlet
public HomePageRedirectServlet()
init
public void init()
throws ServletException
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
-
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException