public class Attributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALERT
The attribute name that contains the alert passed from
another request
Https.sendRedirect(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.util.Map, int) . |
static java.lang.String |
ALERT_TYPE
Denote the type of
ALERT . |
static java.lang.String |
ARG
The attribute used to pass parameters from the caller that invokes
Servlets.include() or Servlets.forward()
with
Servlets.PASS_THRU_ATTR . |
static java.lang.String |
ERROR_EXCEPTION
The attribute to hold the exception, if any.
|
static java.lang.String |
FORWARD_CONTEXT_PATH
The original context path that forwards this page; set by the servlet container.
|
static java.lang.String |
FORWARD_PATH_INFO
The original servlet path that forwards this page; set by the servlet container.
|
static java.lang.String |
FORWARD_QUERY_STRING
The original servlet path that forwards this page; set by the servlet container.
|
static java.lang.String |
FORWARD_REQUEST_URI
The original request URI that forwards this page; set by the servlet container.
|
static java.lang.String |
FORWARD_SERVLET_PATH
The original servlet path that forwards this page; set by the servlet container.
|
static java.lang.String |
INCLUDE_CONTEXT_PATH
The included context path; set by the servlet container.
|
static java.lang.String |
INCLUDE_PATH_INFO
The included servlet path; set by the servlet container.
|
static java.lang.String |
INCLUDE_QUERY_STRING
The included servlet path; set by the servlet container.
|
static java.lang.String |
INCLUDE_REQUEST_URI
The included request URI; set by the servlet container.
|
static java.lang.String |
INCLUDE_SERVLET_PATH
The included servlet path; set by the servlet container.
|
static java.lang.String |
PREFERRED_DATE_FORMAT_INFO
The session attribute used to specify the class used to return
the formats of date, time or both for datebox and timebox.
|
static java.lang.String |
PREFERRED_FIRST_DAY_OF_WEEK
The session attribute used to store the preferred first-day-of-week.
|
static java.lang.String |
PREFERRED_LOCALE
The session attribute used to store the preferred locale (Locale) in a session.
|
static java.lang.String |
PREFERRED_TIME_ZONE
The session attribute used to store the preferred time zone (TimeZone) in a session.
|
static java.lang.String |
TITLE
The title (String) of a servlet or a portal.
|
Modifier | Constructor and Description |
---|---|
protected |
Attributes()
Don't construct it.
|
public static final java.lang.String TITLE
public static final java.lang.String PREFERRED_LOCALE
public static final java.lang.String PREFERRED_TIME_ZONE
public static final java.lang.String PREFERRED_FIRST_DAY_OF_WEEK
Calendar.SUNDAY
,
Calendar.MONDAY
, Calendar.SATURDAY
and so on.
Default: -1 (it means Calendar.getFirstDayOfWeek()
is assumed)
Notice that you could specify it as a library property such that
it will be the default value for the whole application
(with the higher priority than Calendar
.
public static final java.lang.String PREFERRED_DATE_FORMAT_INFO
DateFormatInfo
.public static final java.lang.String ALERT
Https.sendRedirect(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.util.Map, int)
.
It is automatically reset after the next request is responded.
In JSP, web authors use
<c:object name="i.alert" scope="request"> to access it.public static final java.lang.String ALERT_TYPE
ALERT
.
It could be "error", "warning" and undefined.
It is used by JSP page to do more accurate page layout.public static final java.lang.String ARG
Servlets.PASS_THRU_ATTR
.public static final java.lang.String INCLUDE_CONTEXT_PATH
public static final java.lang.String INCLUDE_SERVLET_PATH
public static final java.lang.String INCLUDE_REQUEST_URI
public static final java.lang.String INCLUDE_PATH_INFO
public static final java.lang.String INCLUDE_QUERY_STRING
public static final java.lang.String FORWARD_CONTEXT_PATH
public static final java.lang.String FORWARD_SERVLET_PATH
public static final java.lang.String FORWARD_REQUEST_URI
public static final java.lang.String FORWARD_PATH_INFO
public static final java.lang.String FORWARD_QUERY_STRING
public static final java.lang.String ERROR_EXCEPTION
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.