|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.SelectorServlet
public class SelectorServlet
Servlet that assists with the display and processing of data selectors. Requests processed by this
servlet must contain the name of an HttpActionProvider
object that can be retrieved from the
user session. The HttpActionProvider is responsible for processing user actions to display or close
the selector and process user actions withing the selector dialogs.
To set the character encoding that will be set on the servlet's response, then you can place the character encoding to be used on the request object or the session. The attribute name of the key used is the String com.sas.web.keys.ComponentKeys.CHARACTER_ENCODING. The order of preference is the request and then the session. If you do not set the character encoding, then the ComponentPropertyManager.getOutputCharacterEncoding() will be used. The default value on the ComponentPropertyManager is UTF-8.
For More Information:
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TEMPLATE_FILE_NAME
The name of the file containing the default selector template. |
static java.lang.String |
PARAM_ACTIONPROVIDERNAME
The name of the request parameter that will be examined to find the location of the ActionProvider in the session. |
static java.lang.String |
PARAM_CMDID
The name of the request parameter that will be examined to find the command ID the ActionProvider will need to locate the appropriate command to execute. |
static java.lang.String |
PARAM_TEMPLATE
The name of the request parameter that will be examined to find the location/name of the template to use for the servlet container. |
static java.lang.String |
QUERY_CONN_MANAGER
|
static java.lang.String |
RB_KEY
Key used to retrieve messages from properties file |
static java.lang.String |
REFRESH_VIEWER
|
Constructor Summary | |
---|---|
SelectorServlet()
|
Method Summary | |
---|---|
java.lang.String |
getServletInfo()
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Writes the content bytes to the output stream. |
static void |
servletInvocationMethod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes user actions for the data selectors. |
Field Detail |
---|
public static final java.lang.String RB_KEY
public static java.lang.String DEFAULT_TEMPLATE_FILE_NAME
public static final java.lang.String PARAM_ACTIONPROVIDERNAME
public static final java.lang.String PARAM_CMDID
public static final java.lang.String PARAM_TEMPLATE
public static final java.lang.String REFRESH_VIEWER
public static final java.lang.String QUERY_CONN_MANAGER
Constructor Detail |
---|
public SelectorServlet()
Method Detail |
---|
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
request
- the servlet request objectresponse
- the servlet response object
javax.servlet.ServletException
- if a servlet exception occurs
java.io.IOException
- if an I/O exception occurspublic static void servletInvocationMethod(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- the servlet request objectresponse
- the servlet response object
javax.servlet.ServletException
- if a servlet exception occurs
java.io.IOException
- if an I/O exception occursHttpActionProvider
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |