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 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
object at the session level, and for some reason an additional form object
existed at the request level.  Why is there a duplicate form object at the
request level (whose values are NOT set) when I have never specified request
scope on any of my action objects that use this form?

Thanks,

Kevin Williams



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to