STRUTS: Configuration is Frozen Illegal State Exception

P

Petros

If anyone can help ....

We have an application which we recently migrated from Struts 1.0.2 to
Release 1.1. Our application used to dynamically alter the input
setting of the STRUTS ActionMapping, thus allowing us to dynamically
set the return page to return to within Form validate methods.

The code used to do something like this ...

mapping.setInput(mapping.findForward(getBusinessProcessStage(request)).getPath());

just prior to returning from the form validate method. We do this so
that depending on our current business process stage, if there are
errors we could potentially return to several different input forms.

In Release 1.1 however when the following is called, an Illegal State
Exception is thrown with a Configuration is Frozen Message.

Can anybody suggest an alternative way of doing what we used to do???
i.e. return to any number of different pages from within a validate
method when ActionErrors have been generated.

Thanks In Advance
Petros
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top