portal.http
Class PortalHttpServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byportal.http.PortalHttpServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortalHttpServlet
extends javax.servlet.http.HttpServlet

OpenVend's HTTP servlet.

This is how you should configure the OpenVend servlet in your web.xml:

 <context-param>
      <param-name>portalConfigFile</param-name>
      <param-value>config/portal-config.xml</param-value>
 </context-param>       
 
 <servlet>
      <servlet-name>portal</servlet-name>
      <servlet-class>portal.http.PortalHttpServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
 </servlet>
 
 <servlet-mapping>
      <servlet-name>portal</servlet-name>
      <url-pattern>/portal/*</url-pattern>
 </servlet-mapping>
 

Version:
$Revision: 1.11 $
Author:
Thomas Weckert
See Also:
Serialized Form

Constructor Summary
PortalHttpServlet()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalHttpServlet

public PortalHttpServlet()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
javax.servlet.http.HttpServlet#service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)