Thank you very much Dale, I'll take a look at that.

Jan     

-----Ursprüngliche Nachricht-----
Von: Dale Newfield [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. Oktober 2008 19:02
An: Struts Users Mailing List
Betreff: Re: AW: ExecuteAndWait Interceptor

Jan Froehlich wrote:
> Can no one give me a hint with that??
> All sources (google, books...) say that it is really easy to work with that 
> interceptor...

Error messages usually have useful content:

> java.lang.UnsupportedOperationException at 
> java.util.Collections$UnmodifiableMap.put

> org.apache.struts2.interceptor.ExecuteAndWaitInterceptor.doIntercept(ExecuteAndWaitInterceptor.java:250)

It's saying that the  Map<String,ResultConfig> object returned by the 
getResults() call on the ActionConfig is Unmodifiable and therefore the 
put call that's trying to magically create a "wait" result is failing.

So create a "wait" page and you should be able to avoid this error.  I'm 
not sure why this is happening, but the workaround appears clear.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to