scaffold API Documentation: Class ExistsAttributeAction
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.apache.struts.scaffold
Class ExistsAttributeAction
java.lang.Object
|
+--org.apache.struts.action.Action
|
+--org.apache.struts.scaffold.BaseAction
|
+--org.apache.struts.scaffold.ExistsAttributeAction
public final class ExistsAttributeActionextends BaseAction
Remove an object from the user's session.
The name of the attribute is passed via the parameter property.
Version: $Revision: 1.2 $ $Date: 2002/08/16 22:29:24 $
Author: Ted Husted
Fields inherited from class org.apache.struts.scaffold.BaseAction
CONFIRM_MAX, DETAILS, ERROR, REMOTE_SERVER_KEY, TOKEN_SEP
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
Constructor Summary
ExistsAttributeAction()
Method Summary
protected org.apache.struts.action.ActionForward
findSuccess(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Find "success" if attribute exists, or "failure" if not.
Methods inherited from class org.apache.struts.scaffold.BaseAction
catchException, createHelperBean, createHelperObject, execute, executeLogic, findFailure, getErrors, getException, getLocale, getMessageResources, getMessages, getProperties, getRemoteServer, getRemoteServerName, getTokenSep, isDebug, isErrors, isLogLevel, isMessages, isStruts_1_0, isVerbose, mergeAlerts, perform, postProcess, preProcess, saveErrors, saveMessages, setException, setLocale, tokenize
Methods inherited from class org.apache.struts.action.Action
, execute, generateToken, getDataSource, getDataSource, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, resetToken, saveErrors, saveMessages, saveToken, setServlet, toHex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
Constructor Detail
ExistsAttributeAction
public ExistsAttributeAction()
Method Detail
findSuccess
protected org.apache.struts.action.ActionForward findSuccess(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Find "success" if attribute exists, or "failure" if not.
The servlet context and attributes are specified as the
parameters property, seperated by semi-colons
[parameter="application;HOURS].
non-error state.
To indicatethat all scopes are to be checked,
specify an asterisk instead of the scope name
[parameter="*;HOURS].
If both parameters are not given, an error is set.
Overrides:findSuccess in class BaseAction
Parameters:mapping - The ActionMapping used to select this instanceactionForm - The optional ActionForm bean for this requestrequest - The HTTP request we are processingresponse - The response we are creating
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2001-2002 - Apache Software Foundation
Wyszukiwarka
Podobne podstrony:
function class existsexists i not existsSanta exists does hefunction dba existsfunction array key existsfunction array key existsfunction file existsfunction function existsfunction dba existsfile existsSanta exists says whofunction function existsCheck if File exists over httpfunction class existsfunction method existswięcej podobnych podstron