Adempiere 3.5.2a

org.compiere.www
Class WAttachment

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

public class WAttachment
extends HttpServlet

HTML UI Attachment

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

Field Summary
static String P_Attachment_ID
           
static String P_ATTACHMENT_INDEX
           
static String P_TEXTMSG
           
 
Constructor Summary
WAttachment()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Get request.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request.
 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
destroy, 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
 

Field Detail

P_Attachment_ID

public static final String P_Attachment_ID
See Also:
Constant Field Values

P_ATTACHMENT_INDEX

public static final String P_ATTACHMENT_INDEX
See Also:
Constant Field Values

P_TEXTMSG

public static final String P_TEXTMSG
See Also:
Constant Field Values
Constructor Detail

WAttachment

public WAttachment()
Method Detail

init

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

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the HTTP Get request. Initial display and streaming

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

doPost

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

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

Adempiere 3.5.2a

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