/******************************************************************************* * Copyright (c) 2011-2014 Fernando Petrola * * This file is part of Dragome SDK. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html ******************************************************************************/ package com.dragome.web.serverside.servlets; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; //@WebServlet(loadOnStartup= 1, value= "/pages") public class PageAliasesServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { RequestDispatcher dispatcher= request.getRequestDispatcher("dragome-resources/html/run.html"); dispatcher.forward(request, response); } public void init() throws ServletException { } }