Hi all,

    I am looking to use an action to handle the submission of multiple
similar forms.  Normally I would use separate actions, but in this case
the code is identical for the different forms.  Everythign seesm to be
working fine except for the specification fo the input parameter on the
action.  Depending on where the request cam eform, I want to have the
validate method return to different places.  I thought the easiest way
to do this would be to use mapping.setInput() to specify at runtime
where I want it to return to, but when I try to do this I am getting

Servlet Error: Configuration is frozen: java.lang.IllegalStateException:
Configuration is frozen

You may be wondering how the same Form class could validate a bunch of
different html forms effectively.  I actually have different Form
classes for each of the html forms, but in order to trick the
struts-config into allowing me to specify them all for the single
action, I specify a common Form base class in struts-config.  Now I want
to dynamically set the input parameter in the validate() method of the
BaseForm  subclass - but I can't see an obvious way to do it if the
configuration is frozen.  Is there any way around this problem?

Colin Hawkett
Technical Architect

Morpheus - eBusiness Solutions
Morpheus Limited, Gibbs House, Kennel Ride, Ascot, Berkshire, SL5 7NT
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Tel: 01344 891621; Fax: 01344 891620
Web: http://www.morpheus.co.uk <http://www.morpheus.co.uk/>

*Winner of the IBM Solution Excellence Award for e-Commerce 2001*
*Solution Provider of the Month - Channel 2002 Magazine* *Investor in
People*





****************************************************************************

This email and any files transmitted with it contain information that may be
confidential or privileged, and are intended solely for the use of the
individual or entity to whom they are addressed. If you are not the intended
recipient any disclosure, copying, distribution or use of the information is
prohibited. If you have received this email in error, please notify me by
return email immediately. Any opinions expressed are those of the author,
not of Morpheus Limited.


This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre.

****************************************************************************

Reply via email to