It looks like at least in Tomcat it is... I forget if this is part of the standard...
What are you trying to do? Maybe there's another way to do it... > -----Original Message----- > From: Olaf Bergner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2003 7:39 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] [WW2] > ActionContext.getContext().getParameters().put() fails under Tomcat > > > I recently downloaded and built XWork 1.0/WebWork 2.0 via > CVS. When trying to manipulate the request context via > > Map parameters = ActionContext.getContext().getParameters(); > parameters.put("actionMessages", "test message"); > > in an action class deployed in Tomcat 5.0.12, I receive an Exception > > java.lang.IllegalStateException: Cannot find message > associated with key parameterMap.locked > org.apache.catalina.util.ParameterMap.put(ParameterMap.java:212) > > (for complete stack trace see below). Since I am new to WW I > am wondering if my usage of the parameters context is wrong, > i.e. is it read-only? If not I would be thankful if someone > could point me to a solution. > > Full stack trace: > > java.lang.IllegalStateException: Cannot find message > associated with key parameterMap.locked > org.apache.catalina.util.ParameterMap.put(ParameterMap.java:212) > > de.manplan.web.actions.admin.DeleteUserAction.execute(DeleteUs > erAction.java: > 128) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:156) > > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterce > ptor.java:37) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:153) > > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterce > ptor.java:37) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:153) > > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterce > ptor.java:37) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:153) > > com.opensymphony.xwork.interceptor.TimerInterceptor.intercept( > TimerIntercept > or.java:66) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:153) > > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterce > ptor.java:37) > > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocatio > n.java:153) > > com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActio > nProxy.java:12 > 0) > > com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceA > ction(ServletD > ispatcher.java:180) > > com.opensymphony.webwork.dispatcher.ServletDispatcher.service( > ServletDispatc > her.java:159) > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFi > lter(RequestLi > fecycleFilter.java:62) > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, > and more! http://www.apachecon.com/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork