It's not my codes, so I don't know why he was doing that! I could only guess he wants to redirect the user back to the page if there's any error. I am trying to uncomment that line and see if anything breaks. Martin Cooper wrote:Yes, you'll have to change your current code. But why did you need to call setInput() in the first place?
-- Martin Cooper > -----Original Message----- > From: Sharon Tam [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 4:39 PM > To: Struts Users Mailing List > Subject: RE: java.lang.IllegalStateException: Configuration is frozen > > > > Martin, those are the old codes. I am trying to migrating to > struts1.1 without any code changes. So according to what you > said, I will have to modify the existing codes then, is it right? > Martin Cooper wrote:You can't call ActionMapping.setInput() > on a mapping which was read as part > of the Struts configuration. > > Why are you trying to set the 'input' attribute yourself? What are you > ultimately trying to do? > > -- > Martin Cooper > > > > -----Original Message----- > > From: Sharon Tam [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 17, 2002 3:51 PM > > To: [EMAIL PROTECTED] > > Subject: java.lang.IllegalStateException: Configuration is frozen > > > > > > > > Hi, in struts1.1, can we call mapping.setInput()? My > > application throws java.lang.IllegalStateException: > > Configuration is frozen when I tried to call > > mapping.setInput("xxxx") at the end of my validate() in the > > ActionForm. However, the codes work in struts1.0.2. > > > > > > > > Thanks in advance! > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! News - Today's headlines > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > --------------------------------- > Do you Yahoo!? > Yahoo! News - Today's headlines > -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do you Yahoo!? Yahoo! News - Today's headlines