Package com.portal.web
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Cleans up open Infranet connections.void
doGet
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Handles HTTP servletget
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
-
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 interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.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 interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.servlet.GenericServlet
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException Handles HTTP servletget
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 classjavax.servlet.http.HttpServlet
- Parameters:
req
- the servlet's requestres
- 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 classjavax.servlet.http.HttpServlet
- Parameters:
req
- the servlet's requestres
- the servlet's response- Throws:
javax.servlet.ServletException
IOException
-