Class PInfranetServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.portal.web.PInfranetServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PInfranetServlet extends javax.servlet.http.HttpServlet
PInfranetServlet is the entrance point for WebKit server components.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cleans up open Infranet connections.
    void
    doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
    Handles HTTP servlet get requests.
    void
    doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
    Handles requests from HTML forms with input data.
    void
    init(javax.servlet.ServletConfig config)
    The servlet's initialization routine.

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class javax.servlet.GenericServlet

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PInfranetServlet

      public PInfranetServlet()
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
      The servlet's initialization routine.
      Specified by:
      init in interface javax.servlet.Servlet
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException - thrown if the default property file is not found
    • destroy

      public void destroy()
      Cleans up open Infranet connections.
      Specified by:
      destroy in interface javax.servlet.Servlet
      Overrides:
      destroy in class javax.servlet.GenericServlet
    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Handles HTTP servlet get requests. All the requests from HTML or JSPs should be associated with this parameter to control workflow.
      • page - specifies the NEXT page
      • Optional
      • sessionState - specifies if the session's state is equal to "start"/"end"
      • loadBean - (deprecated) specifies if a bean has to be loaded
      • sessionID - (optional for create and login) should be encoded in the URL (request.encodeURL) to support sessions when cookies are disabled
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Parameters:
      req - the servlet's request
      res - the servlet's response
      Throws:
      javax.servlet.ServletException
      IOException
    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
      Handles requests from HTML forms with input data. The input data is sent to the business object that processes the input and returns the result bean. The result bean is placed in the context of the request. The request is forwarded to the appropriate JSP for display. All the requests should be associated with the following hidden value:
      • page - specifies the NEXT page
      • Optional
      • sessionState - to specify "start" or "end"
      • sessionID - (optional for create and login) should be encoded in the URL (request.encodeURL) to support sessions when cookies are disabled
      • invalid input: '<'/UL
      Overrides:
      doPost in class javax.servlet.http.HttpServlet
      Parameters:
      req - the servlet's request
      res - the servlet's response
      Throws:
      javax.servlet.ServletException
      IOException