RemoveAttributeAction

Lemur zaprasza


scaffold API Documentation: Class RemoveAttributeAction
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 RemoveAttributeAction

java.lang.Object
|
+--org.apache.struts.action.Action
|
+--org.apache.struts.scaffold.BaseAction
|
+--org.apache.struts.scaffold.RemoveAttributeAction



public final class RemoveAttributeActionextends BaseAction


Remove an object from the user's session.
The name of the attribute is passed via the parameter property.


Version: $Revision: 1.3 $ $Date: 2002/09/27 18:59:52 $
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


RemoveAttributeAction()


           


 






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)


          // :FIXME: Needs to be tested.


 


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




RemoveAttributeAction

public RemoveAttributeAction()









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)

// :FIXME: Needs to be tested.


Attempt to remove an attribute from a servlet context.
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 indicate that all scopes are to be checked,
specify an asterisk instead of the scope name
[parameter="*;HOURS]. The attribute will be removed
from only the first context found.

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

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • teen-mushing.xlx.pl
  • WÄ…tki
    Powered by wordpress | Theme: simpletex | © Lemur zaprasza