英特內軟體股份有限公司


jcx.servlet.common
Class cartServlet

jcx.servlet.Servlet
  |
  +--jcx.servlet.common.htmlServlet
        |
        +--jcx.servlet.common.multiStepServlet
              |
              +--jcx.servlet.common.cartServlet

public abstract class cartServlet
extends multiStepServlet

購物車的加入物件,數量調整,刪除單一物件,清空購物車, 凡是所有Servlet 程式欲使用購物車基制。


Fields inherited from class jcx.servlet.Servlet
files, req, resp
 
Constructor Summary
cartServlet()
           
 
Method Summary
abstract  void run1()
          繼承此物件之 Java 程式可以不需實作 run() Method ,只要直接寫 step0() step1() ....
 
Methods inherited from class jcx.servlet.common.multiStepServlet
show_step_not_found
 
Methods inherited from class jcx.servlet.Servlet
addCookie, checkClientTrusted, checkServerTrusted, decode, equals, fromEscapeCode, getAcceptedIssuers, getClientProperty, getCookies, getFileInputStream, getFormData, getHeader, getInputStream, getMemoryInputStream, getMethod, getOutputStream, getParameter, getPath, lzw_decompress, returnAuthenticateResponse, returnAuthenticateResponse, returnErrorResponse, returnNormalResponse, run, setHeader, ToHtml, ToSql, verify
 

Constructor Detail

cartServlet

public cartServlet()
Method Detail

run1

public abstract void run1()
                   throws java.lang.Exception
Description copied from class: multiStepServlet
繼承此物件之 Java 程式可以不需實作 run() Method ,只要直接寫 step0() step1() .... 程式能自動判斷 傳入之step參數,然後執行正確的 step. 如果有問題時,程式會執行 show_step_not_found() ,印出

stepN not defined

程式設計師可自行 override 以自定 Error Message
Overrides:
run1 in class multiStepServlet
Following copied from class: jcx.servlet.Servlet
Returns:
none
Throws:
java.lang.Exception - if any Exception.

英特內軟體股份有限公司