into the perform method, has been stored.
Is that right?
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Thomas Peters [EMAIL PROTECTED]
Sent: Thursday, May 31, 2001 12:01 AM
Subject: Re: Solution: bean attributes not displaying (please comment
If there is an ActionForm bean stored either on the request or on the
session, remove it. The getAttribute method will return the name of the
attribute in the session or in the request where the bean is stored under.
The getScope says either session or request.
This fragmnent is to be executed
The struts documentation indicates that 'mapping.getAttribute()' returns the
mapping name. In the case of the perform method in an Action instance, this
is a passed in property.
Therefore, 'request.removeAttribute(mapping,getAttribute())' removes the
stored attribute from the request context
. This is
configurable in struts-config.xml.
--
Martin Cooper
- Original Message -
From: Thomas Peters [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 8:45 AM
Subject: Re: Solution: bean attributes not displaying (please comment)
The struts documentation indicates
4 matches
Mail list logo