Hm - it looks fine for me...

What makes you think, that a new form bean is created for every JSP? Did you
debug through it?

Surely for every session a new form bean will be created, but it shouldn't
create new ones for all the JSPs in the same session.

Bernhard


-----Ursprüngliche Nachricht-----
Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. Februar 2003 10:02
An: Hirschmann, Bernhard
Betreff: Re: HELP - SOS - Single Form Bean Problem


hi again :)

    I went through the tutorials, every time the sope is set to session, and
same form bean is used.
i have done the same, but stilll the new formbean instance is getting
created.

attached is my struts-config.xml

Thanks
Chetan
----- Original Message -----
From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]>
To: "'Chetan Sahasrabudhe'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 1:25 PM
Subject: AW: HELP - SOS - Single Form Bean Problem


>
> Sure you can use your form beans for as many JSPs as you want. Just make
> sure, they are valid not only for the request, but for the whole session
or
> so.
>
> I think this toppic is described in some very basic tutorials, which you
can
> find at the struts homepage.
>
> Regards,
> Bernhard
>
>
>  -----Ursprüngliche Nachricht-----
> Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 24. Februar 2003 13:30
> An: Hirschmann, Bernhard
> Betreff: Fw: HELP - SOS - Single Form Bean Problem
>
>
>
> ----- Original Message -----
> From: Chetan Sahasrabudhe
> To: Struts Users Mailing List
> Sent: Monday, February 24, 2003 5:03 PM
> Subject: HELP - SOS - Single Form Bean Problem
>
>
> Has anyone used a single form bean for multiple jsps?
> I am trying to use it and have set form scope as session in my action
> declaration in config-struts file
> worst part is, for every jsp itz creating a new form bean ?
>
> whatz the catch, can anyone help me in this ?
>
> Regards
> Chetan
> _______________________________
> |
> |     The trouble with being punctual
> |      is that nobody's there to appreciate it.
> |
> |
> |_______________________________

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

Reply via email to