Adempiere 3.5.2a

org.compiere.wstore
Class ProductServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.compiere.wstore.ProductServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ProductServlet
extends HttpServlet

Web Product Serach

Version:
$Id: ProductServlet.java,v 1.2 2006/07/30 00:53:21 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
static String P_M_PRODUCT_CATEGORY_ID
           
static String P_SEARCHSTRING
           
 
Constructor Summary
ProductServlet()
           
 
Method Summary
 void destroy()
          Clean up resources
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the initial HTTP Get request.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request.
 String getServletInfo()
          Get Servlet information
 void init(ServletConfig config)
          Initialize global variables
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_SEARCHSTRING

public static String P_SEARCHSTRING

P_M_PRODUCT_CATEGORY_ID

public static String P_M_PRODUCT_CATEGORY_ID
Constructor Detail

ProductServlet

public ProductServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initialize global variables

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - servlet configuration
Throws:
ServletException

getServletInfo

public String getServletInfo()
Get Servlet information

Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet
Returns:
Info

destroy

public void destroy()
Clean up resources

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Process the HTTP Post request.

Overrides:
doPost in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the initial HTTP Get request. Reads the Parameter Amt and optional C_Invoice_ID

Overrides:
doGet in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.