Establishing a session

About this task
After the toolkit application is initialized, the HTML client can connect to the server and establish a session using the CSEstablishSessionServlet class.
  1. Define the HTML channel parameter in file btt.xml:
    1. Open btt.xml in with BTT Global Configuration Editor.
    2. Open channelHandler tab.
    3. Click Add button to open the channel handler select window.
    4. Make sure that root node named "html" and "HTMLClient" are checked.
    5. Click OK.
    6. "html" and "HTMLClient" handler are added to channelHandler.
    7. Expand "HTMLClient" node. Input the following values.
    Table 1. HTMLClient
    ID Value
    filePath /html/
    errorPage errorPage.jsp
    homePage signin.jsp
    startUpOp startUpHtmlSessionOp
  2. Define the HTML client startup operation in the file startUpHtmlSessionOp.xml.
  3. Define the HTML client startup related context in file context.xml.
  4. Define the HTML client startup data element in data.xml.