Re: Question about Struts ActionForm scope and clustering

2004-09-29 Thread brenmcguire
When you declare that a form-bean connected to an action is used with
scope "session" means that an instance of that form bean will be put
inside the session space, i.e. the one you take calling:
request.getSession()
Then, the form bean is put inside the session scope of the web server that
interacts with the client. The connection between the saved form bean and
the client is made using session cookies (if enabled) or the URL rewriting
(with the "jsessionid" additional parameter in the URL), both managed by
Struts.
For your case, form beans in session scope have nothing to do with
clustering, because they are saved only in one place (the web server) and
if you want to let know its value to other places you need to propagate
the form bean itself or at least its values.
Hope it helps
Ciao
Antonio Petrelli


> All,
>
>
>
> I'm not sure if I am contacting the right list but this is the problem
> that I am facing:
>
> I am trying to convert a series of registration pages over to Struts.
> The web server that I am using is JBoss 3.2 and it will eventually be
> implemented on a cluster. What I want to know is what the scope=session
> in an ActionForm refers to. Is this the HTTP session or is it some other
> internal session that only Struts use? If I create only one ActionForm
> for all the registration pages and set them all to use the same
> ActionForm with the ActionForm's scope set to "session", does this mean
> that the information in the ActionForm is saved for the next
> registration page that the registration process hits? If it does, how
> does this work in a cluster?
>
>
>
>
>
>
>
>
>
> Cindy Wong
>
>
>
>
>


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



Question about Struts ActionForm scope and clustering

2004-09-29 Thread Wong, Cindy
All,

 

I'm not sure if I am contacting the right list but this is the problem
that I am facing:

I am trying to convert a series of registration pages over to Struts.
The web server that I am using is JBoss 3.2 and it will eventually be
implemented on a cluster. What I want to know is what the scope=session
in an ActionForm refers to. Is this the HTTP session or is it some other
internal session that only Struts use? If I create only one ActionForm
for all the registration pages and set them all to use the same
ActionForm with the ActionForm's scope set to "session", does this mean
that the information in the ActionForm is saved for the next
registration page that the registration process hits? If it does, how
does this work in a cluster?

 

 

 

 

Cindy Wong