Class StatusServlet

  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ch.claudio.pediacache.servlet.StatusServlet
All Implemented Interfaces:, javax.servlet.Servlet, javax.servlet.ServletConfig

public class StatusServlet
extends javax.servlet.http.HttpServlet

Deliver the entry page.

The page is composed of these elements:

Note: For the search form one would need to look for a form with id="searchform" and then extract action etc. But it works with just having the base URL of the site folowed by a query string containing search=item and either a submit button named "go" or "fulltext". With "go" the word is looked up as term, with "fulltext" a search in the text body of the articles is done.

$Id: 163 2006-11-12 11:10:11Z claudio $
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

See Also:
Serialized Form

Constructor Summary
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static void main(java.lang.String[] args)
          Print license.
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public StatusServlet()
Method Detail


protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
doGet in class javax.servlet.http.HttpServlet
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
doPost in class javax.servlet.http.HttpServlet


public static void main(java.lang.String[] args)
Print license.

args - ignored