Class RISCStarter

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclnt.jsfserver.util.CCServletBase
org.eclnt.jsfserver.starter.RISCStarter
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, ICCServerConstants

public class RISCStarter extends CCServletBase implements ICCServerConstants
Servlet that creates the HTML page in which the CaptainCasa RISC Client is started.

Query Parameters:

cctitle => title that is set to the page
ccconfirmexit => if set to true then the user will be prompted before leaving the current page. This prevents the user from ad hoc leaving the application.
ccexttitles => if set to true then certain components will show additional textual information in order to better support accessibility scenarios.
ccpageicon => Icon that will be set within the browser winodw/tab
ccresetbuffers => if set to true then all internal buffers (e.g. server side styles) will be reset
cc_hotdeploy => trigger creation of new hot deployment class loader
See Also:
  • Constructor Details

    • RISCStarter

      public RISCStarter()
  • Method Details

    • initialize

      public static void initialize(javax.servlet.ServletContext context)
    • doGet

      protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • buildWelcomeStyle

      protected String buildWelcomeStyle()
    • resetBuffers

      public static void resetBuffers(javax.servlet.http.HttpServletRequest req)
    • buildVersionStamp

      public static String buildVersionStamp()
    • buildStyleVersionStamp

      public static String buildStyleVersionStamp(String style)
    • findePageFolderPrefix

      protected String findePageFolderPrefix()
      May be overridden by extensions of RISCStarter.
    • findPageExtensions

      protected String[] findPageExtensions()
      May be overridden by extensions of RISCStarter.
    • findRiscExtension

      protected String findRiscExtension()
      May be overridden by extensions of RISCStarter.
    • unescapeSlashes

      protected String unescapeSlashes(String s)
    • manageHeaderParametersIframeEmbedding

      protected void manageHeaderParametersIframeEmbedding(javax.servlet.http.HttpServletRequest request, String page, javax.servlet.http.HttpServletResponse response)
    • checkIfInEditorPreviewMode

      protected boolean checkIfInEditorPreviewMode(javax.servlet.http.HttpServletRequest request) throws RISCStarter.SecurityException
      Throws:
      RISCStarter.SecurityException