JSPservletPkg
Class ServletUpdate

JSPservletPkg.ServletUpdate

public class ServletUpdate

Update servlet. Equivalent to JSPupdate. Changes: Version 1.0.1: delete method Version 1.0.2: publish compatibility

Copyright (c) 2000-2001

 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.
 

Version:
1, 0, 2
Author:
Alexis Grandemange
See Also:
JSPservlet

Field Summary
(package private)  java.util.ArrayList errorMsgs
          message ArrayList.
(package private) static ServletUpdate invoker
          Instance that required include.
(package private) static java.lang.String msgHeader
          HTML prefix of error and notification messages
(package private) static java.lang.String msgTrailer
          HTML suffix of error and notification messages
 
Constructor Summary
ServletUpdate()
           
 
Method Summary
 void doGet(JSPservletPkg.HttpServletRequest request, JSPservletPkg.HttpServletResponse response)
          GET request handling.
 java.lang.String getServletInfo()
           
 void init(JSPservletPkg.ServletConfig config)
          Invoked by Servlet container.
 

Field Detail

msgHeader

static final java.lang.String msgHeader
HTML prefix of error and notification messages

msgTrailer

static final java.lang.String msgTrailer
HTML suffix of error and notification messages

errorMsgs

java.util.ArrayList errorMsgs
message ArrayList.

invoker

static ServletUpdate invoker
Instance that required include.
See Also:
JSPservlet
Constructor Detail

ServletUpdate

public ServletUpdate()
Method Detail

init

public void init(JSPservletPkg.ServletConfig config)
          throws JSPservletPkg.ServletException
Invoked by Servlet container.

doGet

public void doGet(JSPservletPkg.HttpServletRequest request,
                  JSPservletPkg.HttpServletResponse response)
           throws JSPservletPkg.ServletException,
                  java.io.IOException
GET request handling. Steps:
  1. Retrieve jarName parameter.
  2. Search handler. If found invokes it update method.
  3. Otherwise, dispatches JSPservlet.
Parameters:
request - HttpServletRequest.
response - HttpServletResponse.

getServletInfo

public java.lang.String getServletInfo()