|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.MappingDispatchAction
org.apache.struts.apps.mailreader.actions.BaseAction
org.apache.struts.apps.mailreader.actions.LocaleAction
public final class LocaleAction
Change user's Struts Locale
.
Field Summary |
---|
Fields inherited from class org.apache.struts.apps.mailreader.actions.BaseAction |
---|
log, PASSWORD, TASK, USERNAME |
Fields inherited from class org.apache.struts.actions.DispatchAction |
---|
clazz, methods, types |
Fields inherited from class org.apache.struts.actions.BaseAction |
---|
messages |
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
LocaleAction()
|
Method Summary | |
---|---|
ActionForward |
execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Change the user's Struts Locale based on request
parameters for "language", "country". |
Methods inherited from class org.apache.struts.apps.mailreader.actions.BaseAction |
---|
doCancel, doFindFailure, doFindLogon, doFindSuccess, doGet, doGetSubscription, doGetSubscription, doGetUser, doGetUser, doGetUserDatabase, doInputForward, doLogProcess, doSaveToken, doSaveUser, doSet |
Methods inherited from class org.apache.struts.actions.MappingDispatchAction |
---|
getMethodName, getParameter, unspecified |
Methods inherited from class org.apache.struts.actions.DispatchAction |
---|
cancelled, dispatchMethod, getMethod |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocaleAction()
Method Detail |
---|
public ActionForward execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
Change the user's Struts Locale
based on request
parameters for "language", "country".
After setting the Locale, control is forwarded to an URI path
indicated by a "page" parameter, or a forward indicated by a
"forward" parameter, or to a forward given as the mappings
"parameter" property.
The response location must be specified one of these ways.
execute
in class MappingDispatchAction
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating
java.lang.Exception
- if an input/output error or servlet exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |