|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.action.Action
jp.terasoluna.fw.web.struts.actions.ActionEx
jp.terasoluna.fw.web.struts.actions.ForwardAction
jp.terasoluna.toursample.common.action.SetErrorCodeAction
public class SetErrorCodeAction
エラーが発生した場合、エラーメッセージキーを設定して画面遷移を行なう
アクションクラス。
ForwardAction| フィールドの概要 |
|---|
| クラス jp.terasoluna.fw.web.struts.actions.ActionEx から継承されたフィールド |
|---|
FORWARD_TXTOKEN_ERROR |
| クラス org.apache.struts.action.Action から継承されたフィールド |
|---|
defaultLocale, servlet |
| コンストラクタの概要 | |
|---|---|
SetErrorCodeAction()
|
|
| メソッドの概要 | |
|---|---|
org.apache.struts.action.ActionForward |
doExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
エラーに発生時おいて、エラーメッセージコードを設定する。 |
java.lang.String |
getMessageKey()
エラーメッセージコードを返却する。 |
void |
setMessageKey(java.lang.String messageKey)
エラーメッセージコードを設定する。 |
| クラス jp.terasoluna.fw.web.struts.actions.ActionEx から継承されたメソッド |
|---|
addErrors, addMessages, execute, isSaveToken, isTokenCheck, processTokenCheck, setSaveToken, setTokenCheck |
| クラス org.apache.struts.action.Action から継承されたメソッド |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SetErrorCodeAction()
| メソッドの詳細 |
|---|
public java.lang.String getMessageKey()
public void setMessageKey(java.lang.String messageKey)
messageKey - 設定するエラーメッセージコード
public org.apache.struts.action.ActionForward doExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
エラーに発生時おいて、エラーメッセージコードを設定する。
エラーメッセージを設定後、画面遷移を行なう。
jp.terasoluna.fw.web.struts.actions.ForwardAction 内の doExecutemapping - アクションマッピングform - アクションフォームrequest - HTTPリクエストresponse - HTTPレスポンス
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||