Could you create these request scope beans as properties of the
ActionForm?

David Noll wrote:
> 
> Max,
> 
> I don't know if it's the official way to do it, but in my ActionForm's
> validate() method, I call mapping.setInput() with the full path of the
> original Action. An important thing to note is that if your Action class
> pre-populates an ActionForm for the page, you should check for the
> ActionForm's existence before populating it.
> 
> All that said, it does seem a bit cumbersome to go through all that merely
> to return to a dynamically generated input page if there are form errors.
> Does anyone on the list know of a cleaner way to achieve this?
> 
> David
> 
> --
> David Noll, Public Digital
> [EMAIL PROTECTED]
> 
> -----Original Message-----
> From: LORENA MASSIMO [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 6:37 AM
> To: '[EMAIL PROTECTED]'
> Subject: input in XML config
> 
> Hi,
> in an action mapping i'd like to reexecute the complete action instead of a
> simple jsp when the validate method of the form fails, because i need to
> create some beans having request scope
> So my question is...
> Is it possible to have an action in the input fiele of a mapping instead of
> a simple jsp?
> thanks Max

Reply via email to