Package org.eclnt.jsfserver.util
Class StyleReaderServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.eclnt.jsfserver.util.CCServletBase
org.eclnt.jsfserver.util.StyleReaderServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
Reads all files that are accessed in the context of style management
from client side. These are the files with the URL "/eclntjsfserer/styles/*.
The "riscstyle.css" file and the "riscstyle.js" file are dynamically created at runtime.
Other resources are accessed in the following sequence:
1. they are read from the web application (WebResourceReader)
2. they are read from the stream store: using path "/ccstylereader/eclntjsfserver/styles/".
The "riscstyle.css" file and the "riscstyle.js" file are dynamically created at runtime.
Other resources are accessed in the following sequence:
1. they are read from the web application (WebResourceReader)
2. they are read from the stream store: using path "/ccstylereader/eclntjsfserver/styles/".
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclnt.jsfserver.util.CCServletBase
init, proposeContentType, setContentType, setContentTypeInResponse
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
StyleReaderServlet
public StyleReaderServlet()
-
-
Method Details
-
checkIfToInitializeCCEnvironment
protected boolean checkIfToInitializeCCEnvironment()- Overrides:
checkIfToInitializeCCEnvironment
in classCCServletBase
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-