scope question

2004-03-17 Thread Rajat Pandit
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!!

RE: scope question

2004-03-17 Thread Shahak.Nagiel
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

form scope question

2003-03-26 Thread Kevin Williams
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

RE: form scope question

2003-03-26 Thread Raible, Matt
-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

RE: form scope question

2003-03-26 Thread Edgar Dollin
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

RE: form scope question

2003-03-26 Thread Mark Galbreath
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

Re: form scope question

2003-03-26 Thread Gemes Tibor
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

Simple Scope Question (I Hope)

2002-05-01 Thread Tim Sawyer
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

RE: Simple Scope Question (I Hope)

2002-05-01 Thread Galbreath, Mark
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

RE: Simple Scope Question (I Hope)

2002-05-01 Thread Tim Sawyer
); 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

Re: Request scope question again...

2002-02-25 Thread theron . kousek
cc: Subject: Re: Request scope question again... 02/24/02

RE: Request scope question again...

2002-02-25 Thread Jakkampudi, ChandraseKhar
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

Re: Request scope question again...

2002-02-24 Thread theron . kousek
] rg cc: Subject: Re: Request scope question again... 02/22/02

Re: Request scope question again...

2002-02-24 Thread dderry
: [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

Request scope question again...

2002-02-22 Thread theron . kousek
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

Re: Request scope question again...

2002-02-22 Thread dderry
: [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