Hello,
I know this could be a dumb question, but how do access the objects stored in the
ServletContext object using bean:write
a quick answer would help!!
bean:write name=foo property=bar scope=application/
Application scope, aka global, aka servlet context
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 5:14 AM
To: Struts Users Mailing List
Subject: scope question
Hello,
I know this could
Hi,
I am hoping someone can clarify what is exactly happening in my
application. I was trying to retrieve a form object in a custom tag
through the pageContext.findAttribute method, but with no success. I
discovered the reason that I wasn't retrieving the value was because I
had set the form
-Original Message-
From: Kevin Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 4:12 PM
To: [EMAIL PROTECTED]
Subject: form scope question
Hi,
I am hoping someone can clarify what is exactly happening in my
application. I was trying to retrieve a form
To: 'Struts Users Mailing List'
Subject: RE: form scope question
I've seen this a lot with Struts - it seems you can't have
forms with the same name in any two scopes. To work around
this issue, I name my forms differently. For instance, I
store the logged-in user's form in the session
Because the default scope is session. If you want it to be request, you
must specify it in struts-config.
Mark
-Original Message-
From: Kevin Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 6:12 PM
To: [EMAIL PROTECTED]
Subject: form scope question
Hi,
I am hoping
Edgar Dollin írta:
A good practice is to NEVER use the same form name unless the action is
related and you are expecting the data to pass through. Of course the class
can be reused.
If someone wants to use an actionform in actions not related can
reference the form with the
same 'name', but
Hi,
I would like to put an object in application scope rather than session scope, from an
action handler, but I can't find out how.
To put it in session scope I do:
theSession.setAttribute(makeList, lMakeBean);
What's the equivalent for application scope?
I'm trying to share an object
ServletContext context = getServletContext();
context.setAttribute( makeList, lMakeBean);
Mark
-Original Message-
From: Tim Sawyer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 9:23 AM
To: [EMAIL PROTECTED]
Cc: Tim Sawyer
Subject: Simple Scope Question (I Hope)
Hi,
I would
);
Mark
-Original Message-
From: Tim Sawyer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 9:23 AM
To: [EMAIL PROTECTED]
Cc: Tim Sawyer
Subject: Simple Scope Question (I Hope)
Hi,
I would like to put an object in application scope rather than session
scope, from
cc:
Subject: Re: Request scope question
again...
02/24/02
that helps.
-JC
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:56 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: Re: Request scope question again...
Hi Dave:
I am very sorry again to keep asking questions about
]
rg cc:
Subject: Re: Request scope question
again...
02/22/02
: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, February 24, 2002 3:57 PM
Subject: Re: Request scope question again...
Hi Dave:
thanks so much. This is helping. I think I know the answer to this
question but can you verify this with me
Hi Folks:
How can I determine when a bean/form in request scope has terminated?
Will hitting the back button on the browser and bringing up JSP pages
that use beans in request scope be using invalid beans in that case
(since they have scope=request)?
I'm still trying to figure out the
: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 6:40 PM
Subject: Request scope question again...
Hi Folks:
How can I determine when a bean/form in request scope has terminated?
Will hitting the back button on the browser and bringing up JSP pages
16 matches
Mail list logo