I believe this is working as designed.  If the jsp does not have an
<html:...> element matching a property on your struts form AND you have the
scope set to "request" there is no way for struts to maintain the data
across requests.

This situation can arise in multipage wizard type pages.   You have one form
shared across a set of jsp pages, each of which uses only a subset of the
forms properties.   You should be using scope="session" on the action/form
for this set of pages.

BTW, I am just surmising that this is how it works from my experience.  I
have not dug into the code to see that this is what its doing.

HTH,

Bill Pfeiffer

----- Original Message -----
From: "Andras Balogh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 9:34 AM
Subject: Re: ActionError display and re-populate problem


> Hi,
>
> I would like you to ask to keep this thread on the list because
> i am experiencing the same problem: my action works only if is defined
> in scope="session" not as scope="request".
>
> Thank You,
>
> Andras.
>
>
>
>
> Ted Husted wrote:
>
> >Can you post the JSP and ActionForm source (or send it to me directly)?
> >
> >-- Ted Husted, Husted dot Com, Fairport NY USA.
> >-- Custom Software ~ Technical Services.
> >-- Tel +1 716 737-3463
> >-- http://www.husted.com/about/struts/
> >
> >
>
>
>

Reply via email to